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
Simple query fails with column types must match schema types #13534
Found in our production system using datafusion internals, but reproducible in datafusion-cli:
SELECT'foo'AStext,
arrow_cast('2024-01-01T00:00:00Z'::timestamptz, 'Timestamp(Microsecond, Some("UTC"))') AS ts
GROUP BY ts, text
Gives:
Arrow error: Invalid argument error: column types must match schema types, expected Timestamp(Microsecond, Some("UTC")) but found Timestamp(Microsecond, None) at column index 0
git checkout c0ca4b4 # current HEAD
git bisect start
git bisect bad
git checkout 88f58bf # 43.0, I manually verified it is okay
git bisect good
git bisect run ./test.sh # the above script
Activity
adriangb commentedon Nov 22, 2024
cc @jonathanc-n @jayzhan211 @alamb
alamb commentedon Nov 23, 2024
@jayzhan211 is on the case ❤️
alamb commentedon Nov 23, 2024
I think this issue was introduced in
GroupColumn) forDate/Time/Timestamptypes #13457Which has not been released yet