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

[DF] Properly handle Row Expressions (Expr) when referenced as Alias

Open jdye64 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. When an inline row expression is referenced by an Alias the current DataFusion/Dask-SQL code base fails to locate in the SQL Parse tree and therefore fails to produce proper SQL results.

Ex: SELECT a + 1 AS a, b AS bla, a - 1 FROM df

Describe the solution you'd like Row expressions should work like normal even if being referenced by an Alias.

Describe alternatives you've considered None

Additional context None

jdye64 avatar Apr 20 '22 21:04 jdye64