Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
filter_record_batch in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function filter_record_batch

Source
pub fn filter_record_batch(
    record_batch: &RecordBatch,
    predicate: &BooleanArray,
) -> Result<RecordBatch, ArrowError>
Expand description

Returns a filtered RecordBatch where the corresponding elements of predicate are true.

This is the equivalent of calling filter on each column of the RecordBatch.