From 77ae46bf9d2f716bfdc877fb96069f5bb1a9b0e1 Mon Sep 17 00:00:00 2001 From: rrando901 Date: Wed, 13 Dec 2023 13:47:34 -0800 Subject: [PATCH] Add Decimal support to set_agg and set_union --- .../prestosql/aggregates/SetAggregates.cpp | 26 ++- .../prestosql/aggregates/tests/SetAggTest.cpp | 186 ++++++++++++++++++ .../aggregates/tests/SetUnionTest.cpp | 177 +++++++++++++++++ 3 files changed, 381 insertions(+), 8 deletions(-) diff --git a/velox/functions/prestosql/aggregates/SetAggregates.cpp b/velox/functions/prestosql/aggregates/SetAggregates.cpp index 4f3d3eb65ab1..c83846884fb4 100644 --- a/velox/functions/prestosql/aggregates/SetAggregates.cpp +++ b/velox/functions/prestosql/aggregates/SetAggregates.cpp @@ -385,9 +385,9 @@ class SetUnionAggregate : public SetBaseAggregate { template