From c1c3edbd447b15f4fc744a8cca223b5a70e482ba Mon Sep 17 00:00:00 2001 From: "wangguangxin.cn" Date: Wed, 8 Jan 2025 17:23:58 +0800 Subject: [PATCH] fix style --- .../sparksql/aggregates/tests/CollectSetAggregateTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/velox/functions/sparksql/aggregates/tests/CollectSetAggregateTest.cpp b/velox/functions/sparksql/aggregates/tests/CollectSetAggregateTest.cpp index bfe61190770e..2472ba1796da 100644 --- a/velox/functions/sparksql/aggregates/tests/CollectSetAggregateTest.cpp +++ b/velox/functions/sparksql/aggregates/tests/CollectSetAggregateTest.cpp @@ -270,12 +270,12 @@ TEST_F(CollectSetAggregateTest, nullType) { }); testAggregations({data}, {}, {"collect_set(c0)"}, {}, {expected}); - // with groupby key - auto expected2 = makeRowVector({ + // The grouping key is of UNKONWN type. + expected = makeRowVector({ makeNullConstant(TypeKind::UNKNOWN, 1), makeArrayVectorFromJson({"[]"}), }); - testAggregations({data}, {"c0"}, {"collect_set(c0)"}, {}, {expected2}); + testAggregations({data}, {"c0"}, {"collect_set(c0)"}, {}, {expected}); } } // namespace