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

Function AssertTakeCCC

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

Source from the content-addressed store, hash-verified

1331}
1332
1333void AssertTakeCCC(const std::shared_ptr<DataType>& type,
1334 const std::vector<std::string>& values,
1335 const std::vector<std::string>& indices,
1336 const std::vector<std::string>& expected) {
1337 ASSERT_OK_AND_ASSIGN(auto actual, TakeCCC(type, values, indices));
1338 ValidateOutput(actual);
1339 AssertChunkedEqual(*ChunkedArrayFromJSON(type, expected), *actual.chunked_array());
1340}
1341
1342void CheckTakeXCC(const Datum& values, const std::vector<std::string>& indices,
1343 const std::vector<std::string>& expected) {

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