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

Function AssertTakeCAC

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

Source from the content-addressed store, hash-verified

1323}
1324
1325void AssertTakeCAC(const std::shared_ptr<DataType>& type,
1326 const std::vector<std::string>& values, const std::string& indices,
1327 const std::vector<std::string>& expected) {
1328 ASSERT_OK_AND_ASSIGN(auto actual, TakeCAC(type, values, indices));
1329 ValidateOutput(actual);
1330 AssertChunkedEqual(*ChunkedArrayFromJSON(type, expected), *actual.chunked_array());
1331}
1332
1333void AssertTakeCCC(const std::shared_ptr<DataType>& type,
1334 const std::vector<std::string>& values,

Callers 1

TESTFunction · 0.85

Calls 4

ValidateOutputFunction · 0.85
AssertChunkedEqualFunction · 0.85
ChunkedArrayFromJSONFunction · 0.85
chunked_arrayMethod · 0.80

Tested by

no test coverage detected