Skip to content

Commit

Permalink
Update src/main/cpp/src/hive_hash.cu
Browse files Browse the repository at this point in the history
Co-authored-by: Nghia Truong <[email protected]>
  • Loading branch information
firestarman and ttnghia authored Jun 28, 2024
1 parent 7bcc5ed commit bf1c69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cpp/src/hive_hash.cu
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class hive_device_row_hasher {
_table.end(),
HIVE_INIT_HASH,
cuda::proclaim_return_type<hive_hash_value_t>(
[row_index, nulls = this->_check_nulls] __device__(auto hash, auto column) {
[row_index, nulls = this->_check_nulls] __device__(auto hash, auto const& column) {
auto cur_hash = cudf::type_dispatcher(
column.type(), element_hasher_adapter<hash_function>{nulls}, column, row_index);
return HIVE_HASH_FACTOR * hash + cur_hash;
Expand Down

0 comments on commit bf1c69f

Please sign in to comment.