sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

Selecting column names which equals sql keywords fails

Open mweisgut opened this issue 5 years ago • 0 comments

If a column name within a SELECT statement equals an SQL keyword, the parser evaluates the query as invalid.

Example:

SELECT year
FROM table1

This is also the case in TPC-DS queries 66 and 74.

mweisgut avatar Apr 26 '19 13:04 mweisgut