| 1169 | } |
| 1170 | |
| 1171 | Result<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 | |
| 1178 | Result<Datum> TakeTAT(const std::shared_ptr<Schema>& schm, |
| 1179 | const std::vector<std::string>& values, const std::string& indices, |
no test coverage detected