rqlite / sql

Pure Go SQL parser
MIT License
139 stars 23 forks source link

Error in "SELECT FROM table_function()" #6

Closed stephenafamo closed 4 days ago

stephenafamo commented 1 year ago

It appears that the parser cannot understand selecting from a function. For example, this valid SQLite query cannot be parsed

SELECT * FROM generate_series(1, 3) AS "x"
otoolep commented 4 days ago

There may be other cases, but this specific syntax should be parseable now.