-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Labels
bugSomething isn't workingSomething isn't workingcrashNative engine crash/panic/segfaultNative engine crash/panic/segfault
Description
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcrashNative engine crash/panic/segfaultNative engine crash/panic/segfault