andygrove opened a new issue, #3346: URL: https://github.com/apache/datafusion-comet/issues/3346
## Description `array_contains(arr, 2)` returns `null` instead of `false` when `arr` is an empty array (`array()`). ## How to Reproduce ```sql CREATE TABLE test(arr array<int>) USING parquet; INSERT INTO test VALUES (array()); SELECT array_contains(arr, 2) FROM test; ``` Expected: `false` Actual (Comet): `null` ## Expected Behavior Comet should return `false` for `array_contains` when the array is empty, matching Spark's behavior. -- 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]
