andygrove opened a new issue, #3327: URL: https://github.com/apache/datafusion-comet/issues/3327
## Description Calling `map_from_arrays(NULL, NULL)` through Comet's native execution on table data causes a crash with: ``` map key cannot be null ``` Spark returns NULL for `map_from_arrays(NULL, NULL)`. ## Steps to Reproduce ```sql CREATE TABLE test_map(k array<string>, v array<int>) USING parquet; INSERT INTO test_map VALUES (NULL, NULL); SELECT map_from_arrays(k, v) FROM test_map; ``` ## Expected Behavior Should return NULL, matching Spark behavior. ## Actual Behavior Native execution crashes with "map key cannot be null". 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
