Jefffrey opened a new issue, #19798:
URL: https://github.com/apache/datafusion/issues/19798
### Describe the bug
Running locally:
```bash
datafusion (main)$ cargo test --test sqllogictests array
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
Running bin/sqllogictests.rs
(/Users/jeffrey/.cargo_target_cache/debug/deps/sqllogictests-a21d0d1e87978561)
Completed 7 test files in 2 seconds
External error: 1
errors in file
/Users/jeffrey/Code/datafusion/datafusion/sqllogictest/test_files/array.slt
1. query failed: DataFusion error: Arrow error: Invalid argument error:
Codecs [List(RowConverter { fields: [SortField { options: SortOptions {
descending: false, nulls_first: true }, data_type: Null }], codecs: [Stateless]
})] did not consume all bytes for row 0, remaining bytes: [1]
[SQL] select array_union([[null]], []);
at
/Users/jeffrey/Code/datafusion/datafusion/sqllogictest/test_files/array.slt:4750
Error: Execution("1 failures")
error: test failed, to rerun pass `-p datafusion-sqllogictest --test
sqllogictests`
Caused by:
process didn't exit successfully:
`/Users/jeffrey/.cargo_target_cache/debug/deps/sqllogictests-a21d0d1e87978561
array` (exit status: 1)
```
Related code in arrow-rs:
https://github.com/apache/arrow-rs/blob/f122d7786837d1fc6d93ad45c13067fbfe93eb3e/arrow-row/src/lib.rs#L936-L945
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
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]