From 8ed90864cbbc05bd393cdbfed06b408e3a270395 Mon Sep 17 00:00:00 2001 From: RedClusive Date: Mon, 26 Apr 2021 09:39:08 +0000 Subject: [PATCH] refactored --- src/AggregateFunctions/AggregateFunctionQuantile.cpp | 10 +++++----- src/AggregateFunctions/AggregateFunctionQuantile.h | 6 +++--- .../{Bfloat16Histogram.h => BFloat16Histogram.h} | 4 ++-- ...Bfloat16Histogram.h => QuantileBFloat16Histogram.h} | 10 +++++----- tests/queries/0_stateless/00753_quantile_format.sql | 4 ++-- .../0_stateless/01813_quantileBfloat16_nans.sql | 4 ++-- tests/queries/1_stateful/00164_quantileBfloat16.sql | 8 ++++---- 7 files changed, 23 insertions(+), 23 deletions(-) rename src/AggregateFunctions/{Bfloat16Histogram.h => BFloat16Histogram.h} (98%) rename src/AggregateFunctions/{QuantileBfloat16Histogram.h => QuantileBFloat16Histogram.h} (78%) diff --git a/src/AggregateFunctions/AggregateFunctionQuantile.cpp b/src/AggregateFunctions/AggregateFunctionQuantile.cpp index 5594beb90e3..90563e51ddf 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantile.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantile.cpp @@ -52,8 +52,8 @@ template using FuncQuantilesTDigest = Aggreg template using FuncQuantileTDigestWeighted = AggregateFunctionQuantile, NameQuantileTDigestWeighted, true, std::conditional_t, false>; template using FuncQuantilesTDigestWeighted = AggregateFunctionQuantile, NameQuantilesTDigestWeighted, true, std::conditional_t, true>; -template using FuncQuantileBfloat16 = AggregateFunctionQuantile, NameQuantileBfloat16, false, std::conditional_t, false>; -template using FuncQuantilesBfloat16 = AggregateFunctionQuantile, NameQuantilesBfloat16, false, std::conditional_t, true>; +template using FuncQuantileBFloat16 = AggregateFunctionQuantile, NameQuantileBFloat16, false, std::conditional_t, false>; +template using FuncQuantilesBFloat16 = AggregateFunctionQuantile, NameQuantilesBFloat16, false, std::conditional_t, true>; template