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

Method AllColumns

cpp/src/arrow/dataset/scanner.cc:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74std::vector<FieldPath> ScanV2Options::AllColumns(const Schema& dataset_schema) {
75 std::vector<FieldPath> selection(dataset_schema.num_fields());
76 for (int i = 0; i < dataset_schema.num_fields(); i++) {
77 selection[i] = {i};
78 }
79 return selection;
80}
81
82Status ScanV2Options::AddFieldsNeededForFilter(ScanV2Options* options) {
83 std::vector<FieldRef> fields_referenced = FieldsInExpression(options->filter);

Callers

nothing calls this directly

Calls 1

num_fieldsMethod · 0.45

Tested by

no test coverage detected