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
statement ok
CREATE TABLE unnest_table
AS VALUES
([1,2,3])
;
select unnest(column1), unnest(column1) + 1 from unnest_table;
Datafusion throws error
External error: query failed: DataFusion error: Error during planning: Projections require unique expression names but the expression "unnest_table.column1 AS unnest(unnest_table.column1)" at position 0 and "unnest_table.column1 AS unnest(unnest_table.column1)" at position 1 have the same name. Consider aliasing ("AS") one of them.
To Reproduce
No response
Expected behavior
unnest(expr) can be referenced multiple times within select statement