Skip to content

Commit

Permalink
Update cpp/src/arrow/array/array_dict.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 7015905 commit 00198a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/src/arrow/array/array_dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ struct CountDictionaryNullValuesVistor {

template <typename IndexArrowType>
Status CountDictionaryNullValuesImpl() {
int64_t index_length = data->length;
int64_t dict_length = data->dictionary->length;
const uint8_t* dictionary_null_bit_map = data->dictionary->GetValues<uint8_t>(0);
auto index_length = data->length;
auto dict_length = data->dictionary->length;
const auto* dictionary_null_bit_map = data->dictionary->GetValues<uint8_t>(0);

using CType = typename IndexArrowType::c_type;
const CType* indices_data = data->GetValues<CType>(1);
Expand Down

0 comments on commit 00198a3

Please sign in to comment.