From 9d51f014c23af6668d842b85ef6889958479befb Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 23 Mar 2024 04:52:45 +0100 Subject: [PATCH] Fix error --- src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp | 1 + .../AggregateFunctionQuantileBFloat16Weighted.cpp | 2 +- src/AggregateFunctions/AggregateFunctionQuantileDD.cpp | 1 + .../AggregateFunctionQuantileDeterministic.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileExact.cpp | 1 + .../AggregateFunctionQuantileExactExclusive.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileExactHigh.cpp | 1 + .../AggregateFunctionQuantileExactInclusive.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp | 1 + .../AggregateFunctionQuantileExactWeighted.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileGK.cpp | 1 + .../AggregateFunctionQuantileInterpolatedWeighted.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp | 1 + .../AggregateFunctionQuantileTDigestWeighted.cpp | 1 + src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp | 1 + .../AggregateFunctionQuantileTimingWeighted.cpp | 1 + 16 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp b/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp index 902083d3661..75ed099129a 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp b/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp index 6f36a3ebe28..6d881b77c16 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -13,6 +12,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileDD.cpp b/src/AggregateFunctions/AggregateFunctionQuantileDD.cpp index a65702ab7e1..f3d6b26ee75 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileDD.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileDD.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp b/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp index 71e5b128df7..fc186a25afb 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp @@ -14,6 +14,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; extern const int NOT_IMPLEMENTED; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExact.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExact.cpp index 24cabbd23a4..8b7b5f88976 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExact.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExact.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExactExclusive.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExactExclusive.cpp index 58289f2a199..080134eb919 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExactExclusive.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExactExclusive.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExactHigh.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExactHigh.cpp index a75265d214c..b44df755158 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExactHigh.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExactHigh.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp index 6d79bf13ed0..d8287be86ca 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp index ada7f47523f..d192ed175da 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp b/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp index 4c3337d92ad..469abdf45a2 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp @@ -16,6 +16,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; extern const int NOT_IMPLEMENTED; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp b/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp index 035914957e9..e455f2f4123 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp @@ -16,6 +16,7 @@ namespace DB namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; extern const int INCORRECT_DATA; extern const int LOGICAL_ERROR; diff --git a/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp b/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp index 24df84cb805..231123c5363 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp @@ -15,6 +15,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; extern const int NOT_IMPLEMENTED; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp b/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp index adcb8354956..7421e3b649f 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileTDigest.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp b/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp index b17cff10fe6..226c441a152 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp b/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp index c703551b17b..1bb77892c0d 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; } diff --git a/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp b/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp index 877bc459224..cc9db79176b 100644 --- a/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp +++ b/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp @@ -13,6 +13,7 @@ struct Settings; namespace ErrorCodes { + extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int ILLEGAL_TYPE_OF_ARGUMENT; }