Skip to content

Commit

Permalink
Update cpp/src/arrow/compute/kernels/vector_hash.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
  • Loading branch information
js8544 and felipecrv authored Dec 23, 2023
1 parent a841030 commit 87d7e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/vector_hash.cc
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,10 @@ class DictionaryHashKernel : public HashKernel {
}

Result<std::shared_ptr<Array>> dictionary() const {
if (!first_dictionary_) { // Append is never called
if (!first_dictionary_) { // Append was never called
return nullptr;
}
if (!dictionary_unifier_) { // Append is called only once
if (!dictionary_unifier_) { // Append was called only once
return first_dictionary_;
}

Expand Down

0 comments on commit 87d7e1d

Please sign in to comment.