Skip to content

Commit

Permalink
Update cpp/src/arrow/array/array_dict_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
R-JunmingChen and kou authored Nov 13, 2023
1 parent 4a9621f commit 0adeb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/array_dict_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ void CheckDictionaryCountNullValues(const std::shared_ptr<DataType>& dict_type,
const std::string& input_index_json,
const int64_t& expected_null_count) {
auto input = DictArrayFromJSON(dict_type, input_index_json, input_dictionary_json);
const DictionaryArray& input_ref = checked_cast<const DictionaryArray&>(*input);
const auto& input_ref = checked_cast<const DictionaryArray&>(*input);

ASSERT_OK_AND_ASSIGN(int64_t actual, input_ref.CountNullValues());
ASSERT_EQ(expected_null_count, actual);
Expand Down

0 comments on commit 0adeb6b

Please sign in to comment.