-
-
Notifications
You must be signed in to change notification settings - Fork 2
parser: broken select statements #51
Comments
https://www.sqlite.org/lang_select.html So in summary:
|
Whats the status on this? |
As the query is parsable, the parser works fine in this case.
I am working on them with the possible solution. |
How did you execute them? What result does
at least that's what I would expect at this point |
whereas |
even |
Closing this in favor of #54 |
|
Describe the bug
I see some similar bugs in https://github.com/xqueries/xdb/blob/master/internal/parser/parser_test.go
xdb/internal/parser/parser_test.go
Line 4568 in 67baa13
xdb/internal/parser/parser_test.go
Line 6596 in 67baa13
I am not sure whether they are intentional or indeed are missed somehow, but I think these statements and others like these should give an error related to an invalid
SELECT
statement or missing table name.Even, the select query without any
FROM
clause andLiteral
, is passing.To Reproduce
Run the tests.
Also, try
SELECT *
, which I think should fail.Similar issue
Missing table name in Create statement #29
The text was updated successfully, but these errors were encountered: