andygrove opened a new issue, #3331:
URL: https://github.com/apache/datafusion-comet/issues/3331
## 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]