From eb63abcf061279531d7d44fcc98fc6e209702594 Mon Sep 17 00:00:00 2001 From: ustcfy <96854327+ustcfy@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:20:46 +0800 Subject: [PATCH] Update src/main/cpp/src/hive_hash.cu Co-authored-by: Nghia Truong <7416935+ttnghia@users.noreply.github.com> --- src/main/cpp/src/hive_hash.cu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/cpp/src/hive_hash.cu b/src/main/cpp/src/hive_hash.cu index 5f516bcef..70d801544 100644 --- a/src/main/cpp/src/hive_hash.cu +++ b/src/main/cpp/src/hive_hash.cu @@ -484,8 +484,7 @@ std::unique_ptr hive_hash(cudf::table_view const& input, // Return early if there's nothing to hash if (input.num_columns() == 0 || input.num_rows() == 0) { return output; } - // Nested depth cannot exceed 8 - constexpr int max_nested_depth = 8; + constexpr int MAX_NESTED_DEPTH = 8; check_nested_depth(input, max_nested_depth); bool const nullable = has_nested_nulls(input);