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

Function TakeRAR

cpp/src/arrow/compute/kernels/vector_selection_test.cc:1171–1176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169}
1170
1171Result<Datum> TakeRAR(const std::shared_ptr<Schema>& schm, const std::string& batch_json,
1172 const std::string& indices,
1173 const std::shared_ptr<DataType>& index_type = int8()) {
1174 auto batch = RecordBatchFromJSON(schm, batch_json);
1175 return Take(Datum{std::move(batch)}, Datum{ArrayFromJSON(index_type, indices)});
1176}
1177
1178Result<Datum> TakeTAT(const std::shared_ptr<Schema>& schm,
1179 const std::vector<std::string>& values, const std::string& indices,

Callers 1

ExecuteImplMethod · 0.85

Calls 3

RecordBatchFromJSONFunction · 0.85
TakeFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected