You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importdaftdf=daft.from_pydict({"a": [0, 2, 3, 11, 12]})
daft.sql("select * from df where df.a > 3").show()
daft.sql("select * from df as foo where foo.a > 3").show()
The first sql works but the second gives a Table not found: foo exception
Describe the solution you'd like
Support schema.table AS identifier expressions. Most SQL also allows AS to be optional: see here and for postgres
Describe alternatives you've considered
In my case the SQL is autogenerated so would need some effort to remove table aliases where ever they can be used.
Additional Context
version 0.3.8
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Example:
The first sql works but the second gives a
Table not found: foo
exceptionDescribe the solution you'd like
Support
schema.table AS identifier
expressions. Most SQL also allowsAS
to be optional: see here and for postgresDescribe alternatives you've considered
In my case the SQL is autogenerated so would need some effort to remove table aliases where ever they can be used.
Additional Context
version
0.3.8
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: