Skip to content

Commit

Permalink
Fix JNI
Browse files Browse the repository at this point in the history
  • Loading branch information
ttnghia committed Jun 10, 2023
1 parent 6564332 commit 677c7bd
Showing 1 changed file with 1 addition and 2 deletions.
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 @@ -223,8 +223,7 @@ JNIEXPORT jlong JNICALL Java_ai_rapids_cudf_ColumnVector_flattenLists(JNIEnv *en
auto const null_policy = ignore_null ? cudf::lists::concatenate_null_policy::IGNORE :
cudf::lists::concatenate_null_policy::NULLIFY_OUTPUT_ROW;
auto const input_cv = reinterpret_cast<cudf::column_view const *>(input_handle);
return release_as_jlong(
cudf::lists::concatenate_list_elements(cudf::table_view(input_cv), null_policy));
return release_as_jlong(cudf::lists::concatenate_list_elements(*input_cv, null_policy));
}
CATCH_STD(env, 0);
}
Expand Down

0 comments on commit 677c7bd

Please sign in to comment.