oceanbase / sql-lifecycle-management

SQL-Lifecycle-Management is an intelligent diagnosis and optimization product focusing on the SQL field.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: `with` keyword is not support

qidi1 opened this issue · comments

commented

Describe the bug
Paser the sql

WITH xm_gl AS ( SELECT * FROM products WHERE pname IN ( '小米电视机', '格力空调' ) ) SELECT avg( price ) FROM xm_gl

Fast Reproduce Steps(Required)

Steps to reproduce the behavior:

Expected behavior

success parser

Actual Behavior

Syntax error in input! Parser State:0 . LexToken(WITH,'WITH',1,0)

Stale issue message