Alexey Milovidov
54caa61af5
Fix comments
2021-04-04 12:33:06 +03:00
pingyu
86d8bc1c54
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-uniq
2021-04-01 12:35:24 +08:00
alexey-milovidov
971167c68f
Merge pull request #22328 from CurtizJ/remove-code
...
Remove useless code
2021-03-30 13:14:00 +03:00
alexey-milovidov
a6959584d5
Merge pull request #22235 from ClickHouse/quantile-deterministic-msan
...
Fix MSan report in `quantileDeterministic`
2021-03-30 03:48:58 +03:00
Anton Popov
43d9972f18
remove useless code
2021-03-30 01:34:02 +03:00
Anton Popov
5ada14082f
Merge pull request #22025 from vdimir/window-funncel-strict-increase
...
Add option strict_increase to windowFunnel
2021-03-30 01:20:17 +03:00
Alexey Milovidov
f7662df06f
Fix gcc build
2021-03-29 19:30:53 +03:00
Alexey Milovidov
c374be3ead
Merge branch 'master' into quantile-deterministic-msan
2021-03-29 19:28:32 +03:00
Alexey Milovidov
922265d28d
Fix MSan report; add a test
2021-03-29 04:03:11 +03:00
pingyu
1ac42e003c
wip #14893
2021-03-29 00:46:50 +08:00
pingyu
48b745206c
wip #14893
2021-03-28 11:49:49 +08:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
hexiaoting
90548d9c85
ReImplement AggregateFunctionSumCount
2021-03-25 11:15:03 +08:00
Russ Frank
fb68adc643
Merge remote-tracking branch 'origin' into rf/deltasum-with-timestamp
2021-03-23 15:24:32 -04:00
vdimir
38a6dba3e3
Add option strict_increase to windowFunnel
2021-03-23 14:23:48 +03:00
Alexander Kuzmenkov
d40f781b9a
Merge origin/master into tmp (using imerge)
2021-03-22 23:27:18 +03:00
Alexander Kuzmenkov
77a2f03d3b
prevent accidental reinterpret_cast in Field::get<>
2021-03-22 23:23:44 +03:00
Russ Frank
91715cb597
fix style
2021-03-18 17:50:32 -04:00
Russ Frank
29043e1adf
remove trailing whitespaces
2021-03-18 16:46:39 -04:00
Nikolai Kochetov
66d5968cbc
Batch aggregation for overflow rows.
2021-03-18 12:31:14 +03:00
Russ Frank
e4f1cf530d
add deltaSumTimestamp AggregateFunction, docs&test
2021-03-17 13:42:53 -04:00
Russ Frank
521fea62ef
remove uneeded bool in deltaSum impl
2021-03-17 13:41:10 -04:00
Anton Popov
81ac6382a3
slightly better performance
2021-03-13 21:05:18 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
hexiaoting
4fe75ad168
fix error
2021-03-03 17:18:53 +08:00
hexiaoting
e116346cbb
Merge remote-tracking branch 'origin/master' into dev-sumcount
2021-03-02 10:11:50 +08:00
Maksim Kita
7ed5900251
Updated style
2021-03-01 19:18:56 +03:00
Maksim Kita
019a2090c7
Fix unused variable
2021-03-01 19:18:14 +03:00
Maksim Kita
3764a2a2be
AggregateFunctionSumMap better comment message
2021-03-01 19:15:59 +03:00
hexiaoting
8cd5c36664
Fix style error
2021-03-01 18:10:38 +08:00
hexiaoting
16333e9f3a
Suppport fuse aggregate functions:sum/avg/count to sumCount
2021-03-01 18:04:34 +08:00
alexey-milovidov
89884797ab
Merge pull request #20879 from vitlibar/reservoir-sample-deterministic-ubsan-fix
...
Fix undefined-behavior in ReservoirSamplerDeterministic.h
2021-02-24 21:46:42 +03:00
alexey-milovidov
cb8cfdba77
Merge branch 'master' into fffix
2021-02-22 23:08:44 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
alexey-milovidov
04f5b72391
Merge pull request #20995 from amosbird/ubsanfix2
...
Suppress signed overflow in AggregateFunctionGroupArrayMoving 2
2021-02-20 14:25:36 +03:00
Maksim Kita
c5643c47d0
Merge pull request #20970 from kitaisreal/function-sum-map-decimal-fix
...
Function sumMap decimal fix
2021-02-20 13:43:12 +03:00
Amos Bird
487fb09ff6
Suppress signed overflow in AggregateFunctionGroupArrayMoving 2
2021-02-20 14:11:01 +08:00
Maksim Kita
fc03c1013c
Fixed style check
2021-02-19 20:42:51 +03:00
Maksim Kita
0b5213c80d
Added comment
2021-02-19 19:49:19 +03:00
Maksim Kita
b84112a603
Function sumMap decimal fix
2021-02-19 19:25:50 +03:00
Vitaly Baranov
556dc81ab9
Fix undefined-behavior in ReservoirSamplerDeterministic.h
2021-02-18 16:32:01 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
Anton Popov
dcba99f4b1
fix usage of 'distinct' combinator with 'state' combinator
2021-02-18 02:19:58 +03:00
alexey-milovidov
a0fbc0656b
Merge pull request #20206 from ClickHouse/tavplubix-patch-3
...
Suppress signed overflow in AggregateFunctionGroupArrayMoving
2021-02-14 03:32:16 +03:00
Alexander Kuzmenkov
716a3df6eb
Merge pull request #20337 from ClickHouse/aku/window-prototype
...
window function rank() and friends
2021-02-13 03:03:49 +03:00
Alexander Kuzmenkov
d8f9a8d3cd
first_value and last_value
2021-02-11 18:41:54 +03:00
Alexander Kuzmenkov
525400bc41
window function rank() and friends
2021-02-11 16:29:30 +03:00
Maksim Kita
86ff45c50e
Aggregate function deltaSum use restrict keyword
2021-02-10 19:19:48 +03:00
Maksim Kita
85396fc82e
Merge pull request #20057 from rf/rf/add-deltasum
...
Add `deltaSum` aggregate function, docs & test
2021-02-10 13:28:48 +03:00
Russ Frank
6b80ae6c4f
style fixes
2021-02-09 15:01:57 -05:00
Maksim Kita
a2560cecf4
Merge branch 'master' into fuse
2021-02-09 18:30:18 +03:00
Russ Frank
2cde36a155
dont allow col type to be decimal
2021-02-08 22:53:45 -05:00
Russ Frank
b297e0ef36
feedback: use references, dont support decimal, rearrange struct members
2021-02-08 22:51:03 -05:00
Russ Frank
746dc1ddae
Merge remote-tracking branch 'origin/master' into rf/add-deltasum
2021-02-08 15:35:16 -05:00
lehasm
363aefb42e
DOCSUP-3908: mannWitneyUTest, welchTTest and studentTTest documentation ( #19784 )
...
* studentTTest function description
* welchttest description, links in studentttest
* mannWhitneyUTest description
* Text changed slightly
* Text changed slightly
* Text changed slightly
* Text changed slightly
* - First header is first level.
- sample_index type set to UInt64.
- Return values renamed.
- mannWhitneyUTest:
- added continuity_correction parameter
- optional parameters wrapped in braces [ ]
- description refactored
- example SQL placed on single line
* Improved formulations (hopefully)
General data type names used (Integer, Float, Decimal)
Removed names from return values
* Fixes
* Optional parameters stated explicitly
* New line at the end of files
* Russian function description
* Files moved in the right folder
* Translated 'Original article' to russian
* Typos are fixed
* fixed alowed parameter value: "two sided" -> "two-sided"
* duplicate word "require" is removed from exception messages
* mannWhitneyUTest description changed
Added Tuple link in return values
"samples from two populations" added in short descriptions
* Russian translation updated
* fix
Co-authored-by: Alexey Smirnov <alexey-sm@yandex-team.ru>
2021-02-08 15:58:27 +03:00
tavplubix
2daa403201
Update AggregateFunctionGroupArrayMoving.h
2021-02-08 14:59:51 +03:00
Amos Bird
1b32292dd0
bitmap function for all native integers
2021-02-07 11:32:54 +08:00
Russ Frank
2f31eabc13
turn off ubsan for deltasum functions
2021-02-04 21:22:05 -05:00
Russ Frank
bcf5a70e4f
check arg type
2021-02-04 14:28:45 -05:00
Russ Frank
2bfeef23cf
correct merge logic
2021-02-04 11:55:19 -05:00
Alexey Milovidov
15a529f6f7
Whitespace
2021-02-04 10:35:49 +03:00
Russ Frank
f47ea31ef1
clang-format
2021-02-04 00:26:23 -05:00
Russ Frank
75ab05f80a
correct conditional
2021-02-04 00:19:24 -05:00
Russ Frank
b36d20ef6e
record seen first and last
2021-02-04 00:11:43 -05:00
Russ Frank
3913f39211
Add deltaSum
aggregate function, docs & test
2021-02-03 22:49:28 -05:00
Azat Khuzhin
984445b44b
Fix UBsan reports in quantileTiming
...
UBsan reports [1]:
../src/AggregateFunctions/QuantileTiming.h:442:27: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' Received signal -3 Received signal Unknown signal (-3)
[1]: https://clickhouse-test-reports.s3.yandex.net/19971/e15f5d9cb5b36482d1ae9ca069074fb200f2ab37/fuzzer_ubsan/report.html#fail1
Follow-up for: #19394
2021-02-04 02:01:48 +03:00
Alexey Milovidov
349d783089
Improve performance of aggregate functions
2021-02-01 20:12:12 +03:00
Amos Bird
c39ee3f58c
Fix argMinMaxIf crash
2021-01-31 16:27:46 +08:00
kssenii
9c7881f4c9
Fix
2021-01-28 10:30:54 +00:00
Maksim Kita
a3d6888c5b
RoaringBitmapWithSmallSet rb_andnot fix
2021-01-27 18:01:08 +03:00
alexey-milovidov
ba3e064a63
Merge pull request #19371 from kssenii/test-coverage-with-factories
...
test coverage with factories
2021-01-25 07:11:09 +03:00
alexey-milovidov
77af612bc5
Merge pull request #19466 from azat/UBsan-report-fixes
...
UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal))
2021-01-24 22:27:15 +03:00
Azat Khuzhin
df53438a66
Fix UBsan report in sumWithOverflow(Decimal)
...
https://clickhouse-test-reports.s3.yandex.net/19450/3fffa16aab8f5342926b3a6b1e3c6a14208e3322/fuzzer_ubsan/report.html#fail1
2021-01-24 09:26:07 +03:00
kssenii
0d940c6137
Add AggregateFunctionCombinatorFactory, better names
2021-01-23 12:07:37 +00:00
Alexey Milovidov
02d28c1f9b
Fix UBSan report in avgWeighted
2021-01-23 03:17:58 +03:00
tavplubix
9801bfc0ee
Merge branch 'master' into fix_18063
2021-01-22 17:28:05 +03:00
alexey-milovidov
f44f169aaa
Merge pull request #19385 from ClickHouse/sum-ubsan
...
Avoid UBSan report in aggregate function sum
2021-01-22 17:25:55 +03:00
alexey-milovidov
9add38f47b
Merge pull request #19394 from ClickHouse/quantile-weighted-overflow
...
Fix UBSan report in quantileExactWeighted
2021-01-22 17:18:01 +03:00
kssenii
6dc32ae4cb
More correct for functions and aggr. functions
2021-01-22 11:58:29 +00:00
Alexey Milovidov
14adc2d5f0
Fix UBSan report in quantileExactWeighted
2021-01-22 03:05:45 +03:00
Alexey Milovidov
056b44b64f
Add a test
2021-01-22 01:49:37 +03:00
Alexey Milovidov
960d149e0b
More annotations
2021-01-22 01:05:04 +03:00
kssenii
daab2c91bb
Better
2021-01-21 21:15:11 +00:00
kssenii
1ec463b61f
Fast test fix
2021-01-21 20:02:44 +00:00
Alexey Milovidov
d9cb1c1bdd
Avoid UBSan report in aggregate function sum
2021-01-21 22:52:00 +03:00
Ildus Kurbangaliev
86db47de27
fix assert call
2021-01-21 22:23:49 +05:00
kssenii
c1702f34ee
Add factories info into system.query_log
2021-01-21 15:46:37 +00:00
Ildus Kurbangaliev
47a0f4e162
Add tuple argument support for argMin and argMax
2021-01-21 16:47:51 +05:00
Alexander Tokmakov
6560ec3ed5
fix segfault on aggregation when MV has unexpected structure
2021-01-20 19:36:18 +03:00
Alexey Milovidov
c5ac0762e4
Speed up aggregate function sum
2021-01-17 21:59:31 +03:00
alexey-milovidov
2c8ce7d94e
Merge pull request #19019 from ClickHouse/group-uniq-array-enum
...
Fix return type of groupUniqArray
2021-01-14 10:11:44 +03:00
Alexey Milovidov
d27e04997d
More tests
2021-01-13 21:13:52 +03:00
sundy-li
e6351cf966
Add UInt64 Support for bitmapTransform/bitmapSubsetInRange/bitmapSubsetLimit
2021-01-12 17:13:43 +08:00
sundy-li
9aa7c7ef09
Fix same bug in another function
2021-01-11 11:35:56 +08:00
sundy-li
893efab7c3
Fix AggregateFunctionGroupBitmapData bitmapOrCardinality using wrong variable
2021-01-11 11:35:56 +08:00
HuFuwang
833054251b
update sorted logic in AggregateFunctionWindowFunnelData::add
2021-01-10 11:31:44 +08:00
HuFuwang
21659e8aa5
Merge branch 'master' into feature/fix-windowFunnel-inconsistency
2021-01-10 07:34:05 +08:00
alexey-milovidov
fe1c153c6f
Merge pull request #18817 from ucasFL/wf
...
replace PODArray with PODArrayWithStackMemory in AggregateFunctionWindowFunnelData
2021-01-10 00:11:57 +03:00
HuFuwang
8e63328221
refine naming.
2021-01-09 23:13:03 +08:00
HuFuwang
dd52f88e54
fix the inconsistent result of windowFunnel in case of same timestamp for different events.
2021-01-09 22:37:49 +08:00