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: Benjamin Kietzman <bengilgit@gmail.com>
  • Loading branch information
R-JunmingChen and bkietz authored Oct 11, 2023
1 parent a7d5c60 commit 168a891
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 @@ -267,7 +267,7 @@ struct CompactTransposeMapVistor {
BuilderType dict_indices_builder(pool);
ARROW_ASSIGN_OR_RAISE(output_map,
AllocateBuffer(dict_length * sizeof(int32_t), pool));
int32_t* output_map_raw = reinterpret_cast<int32_t*>(output_map->mutable_data());
auto* output_map_raw = output_map->mutable_data_as<int32_t>();
int32_t current_index = 0;
for (CType i = 0; i < dict_len; i++) {
if (dict_used[i]) {
Expand Down

0 comments on commit 168a891

Please sign in to comment.