Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated hash() and spark_murmurhash3_x86_32() #15375

Merged
merged 17 commits into from
Apr 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove hash_id cast
  • Loading branch information
davidwendt committed Mar 22, 2024
commit 3584d44c02845c3de1195cc02d5dbfc0643f1326
3 changes: 1 addition & 2 deletions java/src/main/native/src/ColumnVectorJni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,9 @@ JNIEXPORT jlong JNICALL Java_ai_rapids_cudf_ColumnVector_hash(JNIEnv *env, jobje
try {
auto column_views =
cudf::jni::native_jpointerArray<cudf::column_view>{env, column_handles}.get_dereferenced();
auto const hid = static_cast<cudf::hash_id>(hash_function_id);
// return release_as_jlong(cudf::hash(cudf::table_view{column_views},
// static_cast<cudf::hash_id>(hash_function_id), seed));
if (hid == 2) {
if (hash_function_id == 2) {
return release_as_jlong(cudf::hashing::md5(cudf::table_view{column_views}));
}
return release_as_jlong(
Expand Down
Loading