ClickHouse/src/AggregateFunctions
Robert Schulze 1a7727a254
Prefix overridden add_executable() command with "clickhouse_"
A simple HelloWorld program with zero includes except iostream triggers
a build of ca. 2000 source files. The reason is that ClickHouse's
top-level CMakeLists.txt overrides "add_executable()" to link all
binaries against "clickhouse_new_delete". This links against
"clickhouse_common_io", which in turn has lots of 3rd party library
dependencies ... Without linking "clickhouse_new_delete", the number of
compiled files for "HelloWorld" goes down to ca. 70.

As an example, the self-extracting-executable needs none of its current
dependencies but other programs may also benefit.

In order to restore access to the original "add_executable()", the
overriding version is now prefixed. There is precedence for a
"clickhouse_" prefix (as opposed to "ch_"), for example
"clickhouse_split_debug_symbols". In general prefixing makes sense also
because overriding CMake commands relies on undocumented behavior and is
considered not-so-great practice (*).

(*) https://crascit.com/2018/09/14/do-not-redefine-cmake-commands/
2022-07-11 19:36:18 +02:00
..
examples Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
tests
AggregateFunctionAggThrow.cpp Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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
AggregateFunctionAvg.cpp
AggregateFunctionAvg.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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
AggregateFunctionBitwise.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionBoundingRatio.cpp
AggregateFunctionBoundingRatio.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionCategoricalInformationValue.cpp
AggregateFunctionCategoricalInformationValue.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionCombinatorFactory.cpp
AggregateFunctionCombinatorFactory.h
AggregateFunctionContingencyCoefficient.cpp Make at least some sense 2022-01-03 22:18:57 +03:00
AggregateFunctionCount.cpp
AggregateFunctionCount.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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
AggregateFunctionDeltaSumTimestamp.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionDistinct.cpp
AggregateFunctionDistinct.h Add ability to pass range of rows to Aggregator 2022-04-29 06:57:55 +03:00
AggregateFunctionEntropy.cpp
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 Activate clang-tidy warning "readability-container-contains" 2022-04-18 23:53:11 +02:00
AggregateFunctionFactory.h Support expressions with window functions 2022-06-04 02:01:49 +00:00
AggregateFunctionForEach.cpp
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
AggregateFunctionGroupArrayInsertAt.h
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
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
AggregateFunctionHistogram.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
AggregateFunctionIf.cpp Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionIf.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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
AggregateFunctionMannWhitney.h Do not calculate integrals in statistical tests (#36953) 2022-06-07 15:39:39 +02:00
AggregateFunctionMap.cpp
AggregateFunctionMap.h Fix use-after-free for Map combinator that leads to incorrect result 2022-07-03 12:36:30 +03:00
AggregateFunctionMax.cpp
AggregateFunctionMaxIntersections.cpp
AggregateFunctionMaxIntersections.h base should not depend on Common 2022-04-29 10:26:35 +08:00
AggregateFunctionMeanZTest.cpp Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
AggregateFunctionMeanZTest.h Fixing some warnings 2022-05-16 20:59:27 +02:00
AggregateFunctionMerge.cpp
AggregateFunctionMerge.h
AggregateFunctionMin.cpp
AggregateFunctionMinMaxAny.h better performace with sparse columns in aggregate functions 2022-05-28 02:22:20 +00:00
AggregateFunctionMLMethod.cpp Fix various clang-tidy warnings 2022-04-20 10:29:05 +02:00
AggregateFunctionMLMethod.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionNothing.cpp Update AggregateFunctionNothing.cpp 2022-01-03 14:19:16 +03:00
AggregateFunctionNothing.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionNull.cpp
AggregateFunctionNull.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionOrFill.cpp Introduce IAggregateFunctionCombinator::supportsNesting() 2021-09-10 22:41:38 +03:00
AggregateFunctionOrFill.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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
AggregateFunctionRankCorrelation.h Fix error 2022-07-02 03:40:20 +02:00
AggregateFunctionResample.cpp
AggregateFunctionResample.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionRetention.cpp
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 Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionSimpleLinearRegression.cpp Non-recursive implementation for TL and its functions 2021-10-03 18:02:04 +02:00
AggregateFunctionSimpleLinearRegression.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionSimpleState.cpp
AggregateFunctionSimpleState.h Tiny cleanup of AggregateFunctionSimpleState/AggregateFunctionState 2022-01-28 08:10:08 +03:00
AggregateFunctionSingleValueOrNull.cpp
AggregateFunctionSparkbar.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionSparkbar.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02:00
AggregateFunctionState.cpp
AggregateFunctionState.h fix groupBitmapAndState on distributed table 2022-04-29 08:09:00 +08:00
AggregateFunctionStatistics.cpp
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 Do not calculate integrals in statistical tests (#36953) 2022-06-07 15:39:39 +02:00
AggregateFunctionSum.cpp Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
AggregateFunctionSum.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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 base should not depend on Common 2022-04-29 10:26:35 +08: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 Do not calculate integrals in statistical tests (#36953) 2022-06-07 15:39:39 +02:00
AggregateFunctionUniq.cpp
AggregateFunctionUniq.h better performace with sparse columns in aggregate functions 2022-05-28 02:22:20 +00:00
AggregateFunctionUniqCombined.cpp fix spell error 2021-09-22 13:26:05 +08:00
AggregateFunctionUniqCombined.h use old HashTableGrower with *WithStackMemory data structures 2022-06-27 20:34:18 +02:00
AggregateFunctionUniqUpTo.cpp
AggregateFunctionUniqUpTo.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-15 07:31:11 +00:00
AggregateFunctionWelchTTest.cpp Do not calculate integrals in statistical tests (#36953) 2022-06-07 15:39:39 +02: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 improve performace of insertion to columns of type JSON 2022-06-22 17:45:51 +00:00
HelpersMinMaxAny.h Fix clang-tidy warnings in AggregateFunction folder 2022-03-14 18:17:35 +00:00
IAggregateFunction.cpp
IAggregateFunction.h Aggregate functions added restrict into batch methods 2022-06-15 14:11:10 +02: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 Added test. 2022-05-15 22:49:52 +03:00
QuantileTiming.h Update sort to pdqsort 2022-01-30 19:49:48 +00:00
registerAggregateFunctions.cpp Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray" 2022-04-30 12:29:23 +02: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 Fix error 2022-07-02 03:40:20 +02: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