crepererum opened a new issue, #6083: URL: https://github.com/apache/arrow-datafusion/issues/6083
### Describe the bug `ScalarValue::to_array` cannot create true NULL arrays for structs. Instead it creates a struct where all fields are NULL (which is not the same). ### To Reproduce `ScalarValue::Struct(None, ...).to_array()` ### Expected behavior The value should be null. ### Additional context This should just create a NULL array: https://github.com/apache/arrow-datafusion/blob/26bf31ebbc1274d0f2680d4b944145e794406188/datafusion/common/src/scalar.rs#L2779-L2790 -- 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]
