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
{{ message }}
Repository navigation
Group by rollup/cube/etc.. fails with new type_coercion #25890
#23232 introduced some changes that broke some query shapes inadvertently.
To Reproduce
Using datafusion cli:
CREATETABLEt (ts TIMESTAMP, calls BIGINT) ASVALUES
('1970-01-01T00:00:00'::timestamp, 1),
('1970-01-01T00:01:00'::timestamp, 2),
('1970-01-01T00:05:00'::timestamp, 4);
SELECT date_bin('5 minutes', ts) AS bucket, SUM(calls)
FROM t GROUP BY ROLLUP(bucket) ORDER BY bucket NULLS FIRST;
You will get the error:
No field named "date_bin(Utf8(""5 minutes""),t.ts)". Did you mean '"ROLLUP (date_bin(Utf8(""5 minutes""),t.ts))"'
Activity
fix: preserve grouping set member names during type coercion
fix: preserve grouping set member names during type coercion
fix: preserve grouping set member names during type coercion
fix: preserve grouping set member names during type coercion (apache#…