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 <[email protected]>
  • Loading branch information
R-JunmingChen and kou authored Nov 13, 2023
1 parent ecad7ce commit 695aff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/array/array_dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ Result<int64_t> DictionaryArray::CountNullValues() const {
return this->indices()->null_count();
}

ARROW_ASSIGN_OR_RAISE(int64_t null_count, CountDictionaryArrayNullValues(data_));
return null_count;
return CountDictionaryArrayNullValues(data_);
}

Result<std::shared_ptr<Array>> DictionaryArray::Compact(MemoryPool* pool) const {
Expand Down

0 comments on commit 695aff8

Please sign in to comment.