diff --git a/cpp/src/groupby/groupby.cu b/cpp/src/groupby/groupby.cu index 07fb65f4bee..4c90cd0eef5 100644 --- a/cpp/src/groupby/groupby.cu +++ b/cpp/src/groupby/groupby.cu @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -110,7 +109,8 @@ struct empty_column_constructor { using namespace cudf::detail; if constexpr (k == aggregation::Kind::COLLECT_LIST || k == aggregation::Kind::COLLECT_SET) { - return cudf::lists::detail::make_empty_lists_column(values.type(), stream, mr); + return make_lists_column( + 0, make_empty_column(type_to_id()), empty_like(values), 0, {}, stream, mr); } if constexpr (k == aggregation::Kind::HISTOGRAM) {