ClickHouse/src/AggregateFunctions
Robert Schulze b24ca8de52
Fix various clang-tidy warnings
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
..
examples
tests
AggregateFunctionAggThrow.cpp First version 2021-05-30 13:57:30 +00:00
AggregateFunctionAny.cpp
AggregateFunctionArgMinMax.h Fix some code comments style 2022-02-28 08:15:37 +08:00
AggregateFunctionArray.cpp Introduce IAggregateFunctionCombinator::supportsNesting() 2021-09-10 22:41:38 +03:00
AggregateFunctionArray.h Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into versioning 2021-07-29 19:56:27 +00:00
AggregateFunctionAvg.cpp
AggregateFunctionAvg.h Suppress UBSan errors for avg() function 2021-12-10 22:23:39 +03:00
AggregateFunctionAvgWeighted.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionAvgWeighted.h Adapted usage of is_decimal concept 2021-09-11 19:35:12 +02:00
AggregateFunctionBitwise.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionBitwise.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionBoundingRatio.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionBoundingRatio.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionCategoricalInformationValue.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionCategoricalInformationValue.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionCombinatorFactory.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionCombinatorFactory.h
AggregateFunctionContingencyCoefficient.cpp Make at least some sense 2022-01-03 22:18:57 +03:00
AggregateFunctionCount.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionCount.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionCramersV.cpp Make at least some sense 2022-01-03 22:18:57 +03:00
AggregateFunctionCramersVBiasCorrected.cpp Make at least some sense 2022-01-03 22:18:57 +03:00
AggregateFunctionDeltaSum.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionDeltaSum.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionDeltaSumTimestamp.cpp Fix logical error AggregateFunctionFactory returned nullptr 2021-05-28 14:58:16 +03:00
AggregateFunctionDeltaSumTimestamp.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionDistinct.cpp fix parameters with combinators 2021-07-26 17:37:47 +03:00
AggregateFunctionDistinct.h Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into versioning 2021-07-29 19:56:27 +00:00
AggregateFunctionEntropy.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionEntropy.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionExponentialMovingAverage.cpp Correct merge 2021-11-18 07:56:10 +00:00
AggregateFunctionFactory.cpp Fix aggregate function combinator -If with Nullable filter argument 2022-01-23 08:27:29 +03:00
AggregateFunctionFactory.h Replace a few uses of enable_if for SFINAE by concepts 2022-03-16 19:51:38 +01:00
AggregateFunctionForEach.cpp fix parameters with combinators 2021-07-26 17:37:47 +03:00
AggregateFunctionForEach.h Updated additional cases 2021-12-20 15:55:07 +03:00
AggregateFunctionGroupArray.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionGroupArray.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionGroupArrayInsertAt.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionGroupArrayInsertAt.h Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into versioning 2021-07-29 19:56:27 +00:00
AggregateFunctionGroupArrayMoving.cpp Replacing IsDecimalNumber 2021-09-11 00:40:18 +02:00
AggregateFunctionGroupArrayMoving.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionGroupArraySorted.cpp fixup! Evolve to TinySum 2022-02-11 10:28:35 +01:00
AggregateFunctionGroupArraySorted.h fixup! fixup! Add groupSortedArray() function 2022-02-24 16:16:56 +01:00
AggregateFunctionGroupArraySortedData.h fixup! Add groupSortedArray() function 2022-02-10 16:49:28 +01:00
AggregateFunctionGroupBitmap.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionGroupBitmap.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionGroupBitmapData.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionGroupUniqArray.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionGroupUniqArray.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionHistogram.cpp Minor changes 2021-06-14 07:13:35 +03:00
AggregateFunctionHistogram.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionIf.cpp Fix various clang-tidy warnings 2022-04-20 10:29:05 +02:00
AggregateFunctionIf.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionIntervalLengthSum.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
AggregateFunctionIntervalLengthSum.h Fixed tests 2022-02-04 19:52:18 +00:00
AggregateFunctionMannWhitney.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionMannWhitney.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionMap.cpp Fix style errors, disable heterogeneous comparison lookup where it's not supported 2021-08-05 21:10:51 +05:00
AggregateFunctionMap.h Use C++14 aliases for some type traits 2022-03-11 15:54:29 +01:00
AggregateFunctionMax.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionMaxIntersections.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionMaxIntersections.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
AggregateFunctionMeanZTest.cpp Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
AggregateFunctionMeanZTest.h Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
AggregateFunctionMerge.cpp fix parameters with combinators 2021-07-26 17:37:47 +03:00
AggregateFunctionMerge.h Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into versioning 2021-07-29 19:56:27 +00:00
AggregateFunctionMin.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionMinMaxAny.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionMLMethod.cpp Fix various clang-tidy warnings 2022-04-20 10:29:05 +02:00
AggregateFunctionMLMethod.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionNothing.cpp Update AggregateFunctionNothing.cpp 2022-01-03 14:19:16 +03:00
AggregateFunctionNothing.h Update AggregateFunctionNothing.h 2022-01-03 03:59:45 +03:00
AggregateFunctionNull.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionNull.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionOrFill.cpp Introduce IAggregateFunctionCombinator::supportsNesting() 2021-09-10 22:41:38 +03:00
AggregateFunctionOrFill.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionQuantile.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionQuantile.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionRankCorrelation.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionRankCorrelation.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionResample.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionResample.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionRetention.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionRetention.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionSequenceMatch.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
AggregateFunctionSequenceMatch.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionSequenceNextNode.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
AggregateFunctionSequenceNextNode.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionSimpleLinearRegression.cpp Non-recursive implementation for TL and its functions 2021-10-03 18:02:04 +02:00
AggregateFunctionSimpleLinearRegression.h First version 2021-05-30 13:57:30 +00:00
AggregateFunctionSimpleState.cpp
AggregateFunctionSimpleState.h Tiny cleanup of AggregateFunctionSimpleState/AggregateFunctionState 2022-01-28 08:10:08 +03:00
AggregateFunctionSingleValueOrNull.cpp Add SingleValueOrNull aggregate function 2021-06-04 18:55:46 +03:00
AggregateFunctionSparkbar.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionSparkbar.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionState.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionState.h Tiny cleanup of AggregateFunctionSimpleState/AggregateFunctionState 2022-01-28 08:10:08 +03:00
AggregateFunctionStatistics.cpp Fix trash 2021-06-07 03:15:11 +03:00
AggregateFunctionStatistics.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionStatisticsSimple.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionStatisticsSimple.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionStudentTTest.cpp Validation of the number of observations in the t-test 2022-01-15 19:33:27 +09:00
AggregateFunctionSum.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionSum.h Fixed build 2022-03-14 18:17:35 +00:00
AggregateFunctionSumCount.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionSumCount.h Share code between Avg and SumCount 2021-11-24 13:13:54 +01:00
AggregateFunctionSumMap.cpp Fix SIGSEGV for build under gcc-11 (due to auto deduction) 2022-03-28 22:21:45 +03:00
AggregateFunctionSumMap.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionTheilsU.cpp Add check 2022-01-03 21:39:04 +03:00
AggregateFunctionTopK.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionTopK.h Fix types for topKWeightedState 2021-12-17 17:54:12 +03:00
AggregateFunctionTTest.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionUniq.cpp Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32" 2021-07-15 11:41:52 +00:00
AggregateFunctionUniq.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionUniqCombined.cpp fix spell error 2021-09-22 13:26:05 +08:00
AggregateFunctionUniqCombined.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionUniqUpTo.cpp Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32" 2021-07-15 11:41:52 +00:00
AggregateFunctionUniqUpTo.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionWelchTTest.cpp Validation of the number of observations in the t-test 2022-01-15 19:33:27 +09:00
AggregateFunctionWindowFunnel.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
AggregateFunctionWindowFunnel.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
CMakeLists.txt Remove unbundled cityhash support 2022-01-20 10:01:12 +03:00
CrossTab.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
FactoryHelpers.h
Helpers.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
HelpersMinMaxAny.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
IAggregateFunction.cpp allow mismatching parameters for some functions 2021-07-28 20:55:13 +03:00
IAggregateFunction.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
IAggregateFunctionCombinator.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
KeyHolderHelpers.h
Moments.h Handle exceptional case where data are essentially constant. 2022-01-31 02:25:51 +09:00
parseAggregateFunctionParameters.cpp Reduce dependencies on ASTLiteral.h 2021-11-26 17:54:57 +01:00
parseAggregateFunctionParameters.h Reduce dependencies on ASTLiteral.h 2021-11-26 17:54:57 +01:00
QuantileBFloat16Histogram.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
QuantileExact.h Optimize quantilesExact{Low,High} to use nth_element instead of sort 2022-02-03 12:24:33 +00:00
QuantileExactWeighted.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
QuantileReservoirSampler.h
QuantileReservoirSamplerDeterministic.h
QuantilesCommon.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
QuantileTDigest.h Fix style in QuantileTDigest.h 2021-09-24 13:08:46 +03:00
QuantileTiming.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
registerAggregateFunctions.cpp fixup! Add groupSortedArray() function 2022-02-10 16:49:28 +01:00
registerAggregateFunctions.h
ReservoirSampler.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
ReservoirSamplerDeterministic.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
StatCommon.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
ThetaSketchData.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
UniqCombinedBiasData.cpp
UniqCombinedBiasData.h
UniquesHashSet.h Remove Arcadia 2022-04-16 00:20:47 +02:00
UniqVariadicHash.cpp
UniqVariadicHash.h Miscellaneous 2021-07-23 02:22:01 +03:00