Skip to content

Commit

Permalink
Update cpp/src/arrow/array/array_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Kietzman <[email protected]>
  • Loading branch information
R-JunmingChen and bkietz authored Nov 16, 2023
1 parent e6d83c4 commit 3c0b315
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/src/arrow/array/array_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ void CheckDictionaryNullCount(const std::shared_ptr<DataType>& dict_type,
std::shared_ptr<arrow::Array> arr =
DictArrayFromJSON(dict_type, input_index_json, input_dictionary_json);

ASSERT_EQ(expected_null_count, arr->null_count());
ASSERT_EQ(expected_logical_null_count, arr->ComputeLogicalNullCount());
ASSERT_EQ(expected_may_have_nulls, arr->data()->MayHaveNulls());
ASSERT_EQ(expected_may_have_logical_nulls, arr->data()->MayHaveLogicalNulls());
ASSERT_EQ(arr->null_count(), expected_null_count);
ASSERT_EQ(arr->ComputeLogicalNullCount(), expected_logical_null_count);
ASSERT_EQ(arr->data()->MayHaveNulls(), expected_may_have_nulls);
ASSERT_EQ(arr->data()->MayHaveLogicalNulls(), expected_may_have_logical_nulls);
}

TEST_F(TestArray, TestNullCount) {
Expand Down

0 comments on commit 3c0b315

Please sign in to comment.