Description
SQLDelight Version
2.0.1
SQLDelight Dialect
3.38
Describe the Bug
Attempting to execute the following query:
SELECT json_extract(child.value, '$.d') FROM SomeTable, json_each(SomeTable.json_blob, '$.a.b') AS parent, json_each(parent.value, '$.c') AS child;
Getting the following error:
, , GROUP, HAVING, LIMIT, ON, ORDER, USING, WHERE or WINDOW expected, got 'AS'
And it points (^^) to the AS keyword right before parent
.
This same query executes without an issue on the sqlite3 cli tool:
sqlite> .version
SQLite 3.42.0 2023-05-16 12:36:15 831d0fb2836b71c9bc51067c49fee4b8f18047814f2ff22d817d25195cf350b0
clang-18.0.0
Is this a known issue? Is there a workaround?
Thanks!
Stacktrace
No response
Metadata
Metadata
Assignees
Labels
No labels