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 10, 2023
1 parent c8a0480 commit c48e57e
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 @@ -294,8 +294,7 @@ Result<std::unique_ptr<Buffer>> CompactTransposeMap(
case Type::INT64:
return CompactTransposeMapImpl<Int64Type>(data, pool, out_compact_dictionary);
default:
ARROW_CHECK(false) << "unreachable";
return Status::TypeError("Expected an Index Type of Int or UInt");
util::Unreachable("Expected an Index Type of Int or UInt");
}
}
} // namespace
Expand Down

0 comments on commit c48e57e

Please sign in to comment.