kylebarron opened a new issue, #9394: URL: https://github.com/apache/arrow-rs/issues/9394
This was a breaking change for record batches with zero columns. In https://github.com/kylebarron/arro3/pull/475 I bumped package versions only, with no code changes on my side, and I now have two failing tests. [This test](https://github.com/kylebarron/arro3/blob/48dd4aada62531b07c4aadcd763cc977708074dd/tests/core/test_table.py#L412-L418) newly errors with ``` Exception: Invalid argument error: must either specify a row count or at least one column ``` This is because the _old code_ used `RecordBatch::from(StructArray)`, which preserved the row count from the `StructArray`. The _new code_ uses `RecordBatch::try_new`, which discards the row count info when there are 0 columns. _Originally posted by @kylebarron in https://github.com/apache/arrow-rs/issues/8944#issuecomment-3885228879_ -- 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]
