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

Function CheckDropNull

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

Source from the content-addressed store, hash-verified

2339}
2340
2341void CheckDropNull(const std::shared_ptr<DataType>& type, const std::string& values,
2342 const std::string& expected) {
2343 std::shared_ptr<Array> actual;
2344
2345 ASSERT_OK(DropNullJSON(type, values, &actual));
2346 ValidateOutput(actual);
2347 AssertArraysEqual(*ArrayFromJSON(type, expected), *actual, /*verbose=*/true);
2348}
2349
2350struct TestDropNullKernel : public ::testing::Test {
2351 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