Azat Khuzhin
f46c5a47c0
Introduce uniqCombined64() to get sane results for cardinality > UINT_MAX
...
By default uniqCombined() uses 32-bit hash for all types except String,
so this means that you cannot use uniqCombined() with i.e UInt64 and
cardinality > UINT_MAX, although you can use uniqCombined(toString())
and this will lead to 64-bit hash, but will not have good performance.
So uniqCombined64() had been introduced to fix this.
Requires: #7213
2019-10-08 21:59:35 +03:00
Alexey Milovidov
c846d0f6af
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*.*$/}/'
2019-06-13 13:43:37 +03:00
Alexey Milovidov
8b87511e25
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*\w+/}/'
2019-06-13 13:37:13 +03:00
Nikolai Kochetov
2b8b342ccd
Update IAggregateFunction interface.
2019-02-11 22:26:32 +03:00
alexey-milovidov
fd86a6bea5
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:38:46 +03:00
alexey-milovidov
bd148bb082
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:37:55 +03:00
alexey-milovidov
f90783d885
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:36:32 +03:00
alexey-milovidov
c8868cffaa
Update AggregateFunctionUniqCombined.cpp
2018-10-22 22:34:39 +03:00
Ivan Lezhankin
2a53716043
Move the precision template argument one level up.
2018-10-22 20:18:08 +03:00
Ivan Lezhankin
28ea773b9e
Use a single "place" for a default precision constant.
...
Also update stateless tests.
2018-10-18 21:38:45 +03:00
Ivan Lezhankin
6d783ef013
Move-away "uniqCombined" as a separate aggregated function with HLL precision
2018-10-17 17:31:06 +03:00