From 760bc5708d0a61a63b4336a781c835ba45948c9c Mon Sep 17 00:00:00 2001 From: sundy-li <543950155@qq.com> Date: Fri, 17 May 2019 19:17:52 +0800 Subject: [PATCH] support unsigned integer type in windowFunnel Aggregate function --- .../AggregateFunctionWindowFunnel.cpp | 19 ++++++++-- .../AggregateFunctionWindowFunnel.h | 38 +++++++++---------- .../00632_aggregation_window_funnel.reference | 5 +++ .../00632_aggregation_window_funnel.sql | 13 +++++++ 4 files changed, 52 insertions(+), 23 deletions(-) diff --git a/dbms/src/AggregateFunctions/AggregateFunctionWindowFunnel.cpp b/dbms/src/AggregateFunctions/AggregateFunctionWindowFunnel.cpp index 4b822296386..726ec806242 100644 --- a/dbms/src/AggregateFunctions/AggregateFunctionWindowFunnel.cpp +++ b/dbms/src/AggregateFunctions/AggregateFunctionWindowFunnel.cpp @@ -2,6 +2,8 @@ #include #include #include +#include +#include namespace DB @@ -10,6 +12,7 @@ namespace DB namespace { +template