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

Function CheckDropNull

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

Source from the content-addressed store, hash-verified

2362}
2363
2364void CheckDropNull(const std::shared_ptr<DataType>& type, const std::string& values,
2365 const std::string& expected) {
2366 std::shared_ptr<Array> actual;
2367
2368 ASSERT_OK(DropNullJSON(type, values, &actual));
2369 ValidateOutput(actual);
2370 AssertArraysEqual(*ArrayFromJSON(type, expected), *actual, /*verbose=*/true);
2371}
2372
2373struct TestDropNullKernel : public ::testing::Test {
2374 void TestNoValidityBitmapButUnknownNullCount(const std::shared_ptr<Array>& values) {

Callers 4

TEST_FFunction · 0.85
AssertDropNullMethod · 0.85
AssertDropNullMethod · 0.85
AssertDropNullMethod · 0.85

Calls 4

DropNullJSONFunction · 0.85
ValidateOutputFunction · 0.85
AssertArraysEqualFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected