MCPcopy Create free account
hub / github.com/apache/arrow / Filter

Function Filter

cpp/src/arrow/compute/api_vector.cc:412–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410// Filter- and take-related selection functions
411
412Result<Datum> Filter(const Datum& values, const Datum& filter,
413 const FilterOptions& options, ExecContext* ctx) {
414 // Invoke metafunction which deals with Datum kinds other than just Array,
415 // ChunkedArray.
416 return CallFunction("filter", {values, filter}, &options, ctx);
417}
418
419Result<Datum> Take(const Datum& values, const Datum& indices, const TakeOptions& options,
420 ExecContext* ctx) {

Callers 15

garrow_array_filterFunction · 0.85
garrow_table_filterFunction · 0.85
ScannerBuilderMethod · 0.85
ProcessBatchMethod · 0.85
FilterSingleBatchMethod · 0.85
OnNextBatchMethod · 0.85
DoAssertFilterMethod · 0.85

Calls 1

CallFunctionFunction · 0.85

Tested by 6

DoAssertFilterMethod · 0.68
TestNumericBasicsMethod · 0.68
ValidateFilterFunction · 0.68
TYPED_TESTFunction · 0.68
TEST_FFunction · 0.68