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

Function Filter

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

Source from the content-addressed store, hash-verified

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