You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ddl = "CREATE VIEW t8 AS SELECT qty, price, ROW_NUMBER() OVER(PARTITION BY qty ORDER BY price) AS row_num FROM t1;"
nodes, _, err := parser.New().Parse(ddl, "", "")
What did you expect to see?
parser.New().Parse(ddl, "", "")
return success
What did you see instead?
parser.New().Parse(ddl, "", "")
return error
error msg:
line 1 column 150 near "(PARTITION BY t1.qty ORDER BY t1.price ) AS row_num from t1"
What version of TiDB SQL Parser are you using?
github.com/pingcap/parser v0.0.0-20200623164729-3a18f1e5dceb
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
// use d1;
// CREATE TABLE t1 (qty INT, price INT);
ddl = "CREATE VIEW t8 AS SELECT qty, price, ROW_NUMBER() OVER(PARTITION BY qty ORDER BY price) AS row_num FROM t1;"
nodes, _, err := parser.New().Parse(ddl, "", "")
parser.New().Parse(ddl, "", "")
return success
What did you see instead?
parser.New().Parse(ddl, "", "")
return error
error msg:
line 1 column 150 near "(PARTITION BY
t1
.qty
ORDER BYt1
.price
) ASrow_num
fromt1
"What version of TiDB SQL Parser are you using?
github.com/pingcap/parser v0.0.0-20200623164729-3a18f1e5dceb
The text was updated successfully, but these errors were encountered: