| 2339 | } |
| 2340 | |
| 2341 | void 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 | |
| 2350 | struct TestDropNullKernel : public ::testing::Test { |
| 2351 | void TestNoValidityBitmapButUnknownNullCount(const std::shared_ptr<Array>& values) { |
no test coverage detected