You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "ion-elgreco (via GitHub)" <gi...@apache.org> on 2025/05/13 15:28:27 UTC
[I] `arrow-55.1.0` breaks `filter_record_batch` [arrow-rs]
ion-elgreco opened a new issue, #7500:
URL: https://github.com/apache/arrow-rs/issues/7500
**Describe the bug**
With latest minor release the `filter_record_batch` function stopped working: https://github.com/delta-io/delta-rs/actions/runs/14999489487/job/42142313983?pr=3426#step:4:2506
`cannot use StructArray::new_unchecked if there are no fields, length is unknown`
**To Reproduce**
Run delta-rs codebase and do cargo test.
**Expected behavior**
Being able to filter recordbatch by predicate.
I tried doing this, to verify whether the recordbatch had fields, but it doesn't seem to be an issue with there being no fields
```rust
if filtered.num_columns() > 0 {
Ok(filter_record_batch(&filtered, &BooleanArray::from(keep))?)
} else {
Ok(filtered)
}
```
--
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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `arrow-55.1.0` breaks `filter_record_batch` [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7500: `arrow-55.1.0` breaks `filter_record_batch`
URL: https://github.com/apache/arrow-rs/issues/7500
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `arrow-55.1.0` breaks `filter_record_batch` [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7500:
URL: https://github.com/apache/arrow-rs/issues/7500#issuecomment-2920491178
I think this was fixed in this PR:
- https://github.com/apache/arrow-rs/pull/7539 from @thorfour
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org