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
However, it does not work on main (what would become DataFusion 46)
DataFusion CLI v45.0.0
> select count(), count(*);
Error during planning: Projections require unique expression names but the expression "count(*)" at position 0 and "count(*)" at position 1 have the same name. Consider aliasing ("AS") one of them.
>
To Reproduce
No response
Expected behavior
The query should produce the same results as in datafusion 44 and 45
DataFusion CLI v45.0.0
>selectcount(*), count(t.*) from (values(1)) t(a);
Error during planning: Projections require unique expression names but the expression "count(*)" at position 0 and "count(*)" at position 1 have the same name. Consider aliasing ("AS") one of them.
Describe the bug
@jonahgao noticed this in #14824
This query works in DataFusion 44 and 45:
However, it does not work on main (what would become DataFusion 46)
To Reproduce
No response
Expected behavior
The query should produce the same results as in datafusion 44 and 45
Additional context
It is likely this was introduced by
plan_aggregate
andplan_window
to planner #14689There is more discussion on
The text was updated successfully, but these errors were encountered: