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
When a query includes both a CAST in its select list and a GROUP BY clause, it may fail.
For example:
select cast(a asint) from t group byt.a;
To Reproduce
Run the following queries in DataFusion CLI .
DataFusion CLI v35.0.0
❯ create table t(a bigint);
0 rows in set. Query took 0.007 seconds.
❯ selectcast(a as int) from t group by t.a;
Schema error: No field named "t.a". Valid fields are t.a.
Expected behavior
Should be successful.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When a query includes both a CAST in its select list and a GROUP BY clause, it may fail.
For example:
To Reproduce
Run the following queries in DataFusion CLI .
Expected behavior
Should be successful.
Additional context
No response
The text was updated successfully, but these errors were encountered: