The following query is valid in SQLite and Postgres:
insert into test select 1 returning 2;
(test)
sqlparser currently fails to parse this with ParserError("Expected end of statement, found: 2"). Apparently, it tries to parse RETURNING as a column alias for 1...
The following query is valid in SQLite and Postgres:
(test)
sqlparser currently fails to parse this with
ParserError("Expected end of statement, found: 2"). Apparently, it tries to parseRETURNINGas a column alias for1...