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
width_bucket fails: Int32 downcast to Int64Array #3331
The width_bucket.sql SQL file test crashes with a native type mismatch error.
Error
CometNativeException: Comet Internal Error: Failed to downcast to Int64Array, actual type: Int32
at org.apache.comet.Native.columnarToRowConvert(Native Method)
The native width_bucket implementation produces an Int32 output array, but the columnar-to-row converter expects Int64. The output schema type needs to match what Spark expects.
Reproduction
Run CometSqlFileTestSuite — the width_bucket.sql test fails with a SparkException wrapping the native downcast error.
Closing this issue. The root cause was an upstream DataFusion bug (apache/datafusion#20320) which has since been fixed. The width_bucket support was disabled as a workaround and #3561 tracks re-enabling it with the corrected upstream implementation.
Activity
Ignore failing SQL file tests and rename configCombinations to config…
Ignore failing SQL file tests and rename configCombinations to config…
andygrove commentedon Mar 27, 2026
Closing this issue. The root cause was an upstream DataFusion bug (apache/datafusion#20320) which has since been fixed. The
width_bucketsupport was disabled as a workaround and #3561 tracks re-enabling it with the corrected upstream implementation.