From b94621765158284f703487363b4922c5061d4ff2 Mon Sep 17 00:00:00 2001 From: hyperbolic2346 Date: Wed, 31 Mar 2021 14:34:01 -0700 Subject: [PATCH] removing semi_join special code --- cpp/src/join/semi_join.cu | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cpp/src/join/semi_join.cu b/cpp/src/join/semi_join.cu index a3731891d44..80a1ef9e204 100644 --- a/cpp/src/join/semi_join.cu +++ b/cpp/src/join/semi_join.cu @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -174,16 +173,10 @@ std::unique_ptr left_semi_anti_join( return std::make_unique(left, stream, mr); } - // flatten any structs out. Note this happens before dictionary matching because - // structs can contain dictionaries. - auto const flattened_left = structs::detail::flatten_nested_columns(left.select(left_on), {}, {}); - auto const flattened_right = - structs::detail::flatten_nested_columns(right.select(right_on), {}, {}); - // Make sure any dictionary columns have matched key sets. // This will return any new dictionary columns created as well as updated table_views. auto matched = cudf::dictionary::detail::match_dictionaries( - {std::get<0>(flattened_left), std::get<0>(flattened_right)}, + {left.select(left_on), right.select(right_on)}, stream, rmm::mr::get_current_device_resource()); // temporary objects returned