You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
if filtered.num_columns() > 0{Ok(filter_record_batch(&filtered,&BooleanArray::from(keep))?)}else{Ok(filtered)}
Also not entirely sure, what we can do on our end here. With another failure I was able to swap out the function for StructArray to try_new_with_length
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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:2506cannot 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
Also not entirely sure, what we can do on our end here. With another failure I was able to swap out the function for StructArray to
try_new_with_length
The text was updated successfully, but these errors were encountered: