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

Function Filter

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

Source from the content-addressed store, hash-verified

438// Filter- and take-related selection functions
439
440Result<Datum> Filter(const Datum& values, const Datum& filter,
441 const FilterOptions& options, ExecContext* ctx) {
442 // Invoke metafunction which deals with Datum kinds other than just Array,
443 // ChunkedArray.
444 return CallFunction("filter", {values, filter}, &options, ctx);
445}
446
447Result<Datum> Take(const Datum& values, const Datum& indices, const TakeOptions& options,
448 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