Skip to content

Commit

Permalink
revert change for array_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Dec 5, 2024
1 parent 63f5d68 commit a82cac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/array_dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Result<std::shared_ptr<Array>> DictionaryArray::Transpose(
ARROW_ASSIGN_OR_RAISE(auto transposed,
TransposeDictIndices(data_, data_->type, type, dictionary->data(),
transpose_map, pool));
return MakeArray(transposed);
return MakeArray(std::move(transposed));
}

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

0 comments on commit a82cac8

Please sign in to comment.