Commit Graph

527 Commits

Author SHA1 Message Date
nikitamikhaylov
02ce3ed4e7 style 2020-11-25 20:51:06 +03:00
nikitamikhaylov
de75c96a75 better 2020-11-25 20:51:06 +03:00
nikitamikhaylov
13081370ba mann-whitney 2020-11-25 20:51:06 +03:00
nikitamikhaylov
9afe579225 small refactor 2020-11-25 20:51:06 +03:00
nikitamikhaylov
78b510eaa1 naming 2020-11-25 20:12:14 +03:00
myrrc
b7e94b487c fixed scale calc, again 2020-11-24 17:29:30 +03:00
myrrc
420f2489a7 fixed decimal scales calc, updated the tests 2020-11-24 17:07:59 +03:00
myrrc
fbb0e6e6aa Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-24 16:04:17 +03:00
Alexey Milovidov
fbbf439338 Merge branch 'master' into Enmk-DateTime64_fixes_comparison 2020-11-23 05:46:17 +03:00
Alexey Milovidov
1a073f700f Fix exception message 2020-11-23 05:44:42 +03:00
Nikolai Kochetov
bac1def5f9
Merge pull request #17134 from abyss7/tcp-port
Implement tcpPort() function for tests
2020-11-20 20:32:55 +03:00
Ivan Lezhankin
fdd1c182ab Merge remote-tracking branch 'upstream/master' into tcp-port 2020-11-18 16:22:00 +03:00
Vasily Nemkov
1fd758d957 Fixed various DateTime64 related hiccups
Added std::hash overload
Fixed the way aggregate functions work with DateTime64
Added an option for an aggregate function to opt out from DateTime64 support
Disable support of DateTime64 for AggregateFunctionSun, since it makes very little sense.
2020-11-18 10:20:52 +03:00
myrrc
7469b3f6c8 Merge remote-tracking branch 'upstream/aku/merge-avg-weighted' into improvement/diff-types-in-avg-weighted 2020-11-17 22:14:48 +03:00
myrrc
ce42dcf39c replaced explicit stack values with references 2020-11-17 21:10:42 +03:00
Ivan Lezhankin
f897f7c93f Refactor IFunction to execute with const arguments 2020-11-17 16:24:45 +03:00
Grigory Buteyko
81b9d6a948 Merge branch 'master' into hrissan/prevent_tdigest_uncontrolled_growth 2020-11-17 14:40:34 +03:00
Pavel Kruglov
7ecd207eac Remove unnecessary QuantileTDigest layer 2020-11-17 14:01:51 +03:00
alexey-milovidov
b494b18748
Merge pull request #17108 from ClickHouse/ya-make-owners
Add "OWNER" to ya.make files.
2020-11-17 05:19:46 +03:00
Alexey Milovidov
24f4fa6edf Follow Arcadia ya.make rules 2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2 Follow Arcadia ya.make rules 2020-11-16 21:24:58 +03:00
Alexander Kuzmenkov
2f5e3f66a7 typo 2020-11-16 20:54:40 +03:00
Alexander Kuzmenkov
3ba8155d38 typo 2020-11-16 20:04:12 +03:00
Alexander Kuzmenkov
216098afc8 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-16 19:10:10 +03:00
Alexander Kuzmenkov
b0e660651a cleanup 2020-11-16 19:09:58 +03:00
myrrc
862c8a428c Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-16 14:40:49 +03:00
Nikolai Kochetov
00de84fbe3
Merge pull request #16610 from zhang2014/fix/ISSUES-16574
ISSUES-16574 try fix remote query failure when using 'if' suffix aggregate function
2020-11-16 12:41:14 +03:00
Vasily Nemkov
63d168d34e Fixed MySQL and DateTime64 integration.
Also updated other places, like type helpers/dispatchers where DateTime64
was implicitly supported before as Decimal64.
2020-11-16 09:02:41 +03:00
myrrc
b1c0089b78 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-14 16:50:04 +03:00
Grigory Buteyko
1a02ec85a5 naming issue compress_brute fixed to compressBrute 2020-11-13 19:09:59 +03:00
Grigory Buteyko
2a22941504 naming issue compress_brute fixed to compressBrute 2020-11-13 19:04:53 +03:00
Ivan
902091cc07
Slightly better miniselect usage (#16896)
* Slightly better miniselect usage
* Update ColumnDecimal.cpp
2020-11-13 14:28:18 +03:00
alexey-milovidov
2151365764
Merge pull request #16865 from filimonov/timeSeriesGroupSum-segfault
Fix for issue #16862
2020-11-12 19:39:14 +03:00
Pavel Kruglov
38c126ecfd Fix style and build error 2020-11-12 16:13:30 +03:00
myrrc
a8d8dd7d3e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-12 14:50:59 +03:00
alexey-milovidov
6e62108606
Merge pull request #16774 from ucasFL/agg-func-setting-null-for-empty
fix Aggregation Function not found error after #16123
2020-11-12 13:50:15 +03:00
filimonov
ec6f092683
Update AggregateFunctionTimeSeriesGroupSum.h 2020-11-12 09:40:26 +01:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Mikhail Filimonov
3b2c681ac6
blind fix 2020-11-11 13:25:05 +01:00
Nikolai Kochetov
0410e383d9 Try fix check. 2020-11-11 12:46:36 +03:00
Nikolai Kochetov
ac8b658a4a Try fix ci. 2020-11-10 23:25:29 +03:00
Grigory Buteyko
c898ec00d9 Exception instead of std::runtime_error 2020-11-10 23:03:36 +03:00
Alexander Tokmakov
b94cc5c4e5 remove more stringstreams 2020-11-10 21:22:26 +03:00
myrrc
e460248624 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-10 14:54:24 +03:00
Danila Kutenin
a4e000cc9f Fix name 2020-11-10 00:55:17 +03:00
Danila Kutenin
d0840bfc5d Move miniselect to submodule and replace quantile exact with better algorithm 2020-11-10 00:53:43 +03:00
Alexander Tokmakov
a06be511df pcg serialization 2020-11-09 16:07:38 +03:00
zhang2014
1726fb0f4e ISSUES-16574 try fix test failure 2020-11-09 12:40:28 +08:00
zhang2014
540288c419 Merge branch 'master' into fix/ISSUES-16574 2020-11-09 10:05:56 +08:00
Grigory Buteyko
08a266cf72 removed dependence of invariants on floating point black box properties. Now more than 2048 centroids will never be written, on read, however, we allow more centroids and just compress them. if there is too much. Thus we allow loading TDigests with different error, as number of centroids is dependent on error. 2020-11-09 00:44:41 +03:00
feng lv
dd2f31c0b4 cancel combinators native names constraint 2020-11-08 15:36:20 +00:00
Alexey Milovidov
fd84d16387 Fix "server failed to start" error 2020-11-07 03:14:53 +03:00
alexey-milovidov
39cd1c0371
Merge pull request #16700 from ClickHouse/better-arcadia
Improve Arcadia
2020-11-05 15:34:34 +03:00
alexey-milovidov
9cb0b76c16
Merge pull request #16631 from ildus/fix_16087
fix bug in minMap and maxMap with zero values
2020-11-05 14:14:19 +03:00
Alexey Milovidov
b56486510f Improve Arcadia 2020-11-05 12:55:01 +03:00
myrrc
9788065786 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-05 08:44:37 +03:00
alexey-milovidov
ef111f104c
Merge pull request #16660 from ClickHouse/ornull-minor
Minor modification: less templates
2020-11-04 23:42:49 +03:00
alexey-milovidov
199c32b585
Merge pull request #16672 from ClickHouse/remote-ttests
Remove T-Tests
2020-11-04 23:38:12 +03:00
alexey-milovidov
97b4534eb3
Update AggregateFunctionOrFill.cpp 2020-11-04 19:57:00 +03:00
Grigory Buteyko
ee2c600130 better comments 2020-11-04 18:31:27 +03:00
myrrc
591ebcef49 fixing test results 2020-11-04 18:23:29 +03:00
Alexey Milovidov
ffeee2b471 Remove T-Tests 2020-11-04 18:03:32 +03:00
myrrc
832d37c424 added some corner cases, made Decimal convertTo const 2020-11-04 17:23:04 +03:00
Ildus Kurbangaliev
4ff1dacaa0 Fix the test case for maxMap function 2020-11-04 14:20:11 +00:00
Grigory Buteyko
dc51482e78 Improved numeric stability and stricter invariants in TDigest. Fixes bug when TDigest centroids array will grow beyond reasonable means and trigger exception inTDigest::deserialize during database Merge operations 2020-11-04 17:14:00 +03:00
myrrc
43b2d20314 updated the decimal template magic 2020-11-04 16:14:07 +03:00
myrrc
3d70ab7f3b Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-04 14:29:59 +03:00
Alexey Milovidov
c848deed1e Fix test 2020-11-04 14:07:54 +03:00
Alexey Milovidov
155c11d29c Optimize -OrNull and -OrDefault aggregate functions by providing specializations #16123 2020-11-04 13:53:10 +03:00
Alexey Milovidov
85f81f9d9e Minor modification: less templates 2020-11-04 13:38:04 +03:00
alexey-milovidov
397d02f828
Merge pull request #16643 from ClickHouse/quantile-merge-perf
Improve performance of quantileMerge
2020-11-04 11:28:07 +03:00
Alexey Milovidov
f5ed9adad3 Remove old code 2020-11-03 23:52:57 +03:00
Alexey Milovidov
5fe679324e Improve performance of quantileMerge #16640 2020-11-03 23:26:55 +03:00
myrrc
5c6bd218ad adjusted the perftest 2020-11-03 18:01:29 +03:00
myrrc
ab1b7267b6 fixed the build, added some comments 2020-11-03 17:56:07 +03:00
Ildus Kurbangaliev
2534ea3426 fix bug in minMap and maxMap with zero values 2020-11-03 10:22:51 +00:00
zhang2014
869578f072 ISSUES-16574 try fix if suffix agg function with remote query 2020-11-02 23:57:14 +08:00
zhang2014
66b852cf69 Revert "Revert "Try fix IfAggCombinator with NullAggCombinator""
This reverts commit 962a89843c.
2020-11-02 23:55:32 +08:00
myrrc
5c77ae914f fixed contexpr modifier build, updated tests 2020-11-02 14:47:59 +03:00
Nikolai Kochetov
962a89843c
Revert "Try fix IfAggCombinator with NullAggCombinator" 2020-11-02 12:01:57 +03:00
myrrc
06ae95a10a fixing nan values for functions 2020-10-30 21:08:33 +03:00
myrrc
7d6f48263e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 20:17:54 +03:00
myrrc
b3379e9cf0 fixed some wrong tests, updated docs 2020-10-30 19:17:57 +03:00
myrrc
9ca35c0b44 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 17:22:24 +03:00
Maxim Akhmedov
3627fabfb9 Remove -g0 form Arcadia build settings. 2020-10-29 17:37:23 +03:00
alexey-milovidov
df828a6a6c
Merge pull request #16410 from ClickHouse/fix-quantile-deterministic
Fix debug assertion in quantileDeterministic function.
2020-10-28 09:24:46 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
alexey-milovidov
948ac657dc
Merge pull request #16406 from ClickHouse/fix-tsan-lgamma
Fix TSan report in lgamma
2020-10-28 01:59:50 +03:00
Alexander Kuzmenkov
6509f1eb39
Merge branch 'master' into minumum 2020-10-27 21:38:23 +03:00
alexey-milovidov
42eb784a26
Update AggregateFunctionWelchTTest.h 2020-10-27 17:55:19 +03:00
alexey-milovidov
382a6e62ec
Update AggregateFunctionStudentTTest.h 2020-10-27 17:55:03 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell 2020-10-27 12:04:03 +01:00
Alexey Milovidov
59910991b6 Fix "Darwin" 2020-10-27 00:33:46 +03:00
alexey-milovidov
a34b0880c3
Update ReservoirSamplerDeterministic.h 2020-10-27 00:21:56 +03:00
Alexey Milovidov
73f3aac663 Fix assert error in quantileDeterministic #15683 2020-10-27 00:07:24 +03:00
Alexey Milovidov
740cf8ce82 Some aggregate functions were erroneously marked as case-insensitive 2020-10-26 22:20:40 +03:00
Alexey Milovidov
e449266a16 Fix TSan report in lgamma 2020-10-26 22:06:30 +03:00
myrrc
4d11bd036b Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-26 17:42:47 +03:00
myrrc
5b4981b466 added getFloat64 to ColumnDecimal, updated tests 2020-10-26 16:27:58 +03:00
myrrc
d8370116c1 simplified the functions (agreement to cast to Float64) 2020-10-25 23:33:01 +03:00
Alexey Milovidov
8b21ef5d4f Remove excessive exclamation marks 2020-10-25 00:50:52 +03:00
Nikita Mikhaylov
58b4342998
Merge pull request #15874 from nikitamikhaylov/welch-t-test
Student and Welch t-test
2020-10-24 15:13:12 +03:00
sundy-li
21315127a0 remove unused codes in AggregateFunctionGroupBitmapData 2020-10-24 10:05:54 +08:00
nikitamikhaylov
a949293f95 better 2020-10-23 23:27:38 +03:00
nikitamikhaylov
0064a75916 Merge branch 'master' of github.com:ClickHouse/ClickHouse into welch-t-test 2020-10-23 23:06:15 +03:00
sundy-li
f407504a7a try use cmake version for croaring instead of amalgamation.sh 2020-10-23 19:42:21 +08:00
myrrc
f18232739b some other changes to deduction guides 2020-10-22 19:32:06 +03:00
myrrc
2a589d7c15 updated deduction rules to correct integral / Decimal division 2020-10-22 19:13:18 +03:00
myrrc
e4f35e27e1 RationalFraction initialization fix 2020-10-22 18:53:45 +03:00
myrrc
3d479cdd8c added resul type deduction structs 2020-10-22 18:47:21 +03:00
myrrc
338ecb6fe1 possibly added the numerator/denominator determination algorithm in
avgWeighted
2020-10-22 17:29:32 +03:00
alexey-milovidov
cfaf82ba0c
Merge pull request #16135 from hexiaoting/dev_rankCorr
Fix inconsistent behaviour of rankCorr function
2020-10-22 01:15:50 +03:00
alexey-milovidov
222a4d2e9b
Update AggregateFunctionRankCorrelation.h 2020-10-22 01:15:24 +03:00
Nikolai Kochetov
295e612343 Fix build and tests. 2020-10-20 16:11:57 +03:00
alexey-milovidov
14d9586735
Update AggregateFunctionRankCorrelation.h 2020-10-20 04:18:12 +03:00
myrrc
30d477bc10 added create() function fo avgWeighted 2020-10-19 18:23:35 +03:00
hexiaoting
6ed6f4f7a2 Fix inconsistent behaviour of rankCorr function 2020-10-19 15:17:33 +08:00
Nikolai Kochetov
ce2f6a0560 Part 4. 2020-10-18 00:41:50 +03:00
myrrc
4bb700fc1b cleaned up traits for AggregateFunction, added some dev docs 2020-10-16 23:15:38 +03:00
myrrc
8e7e232387 wip dealing with template magic 2020-10-15 13:36:00 +03:00
nikitamikhaylov
b1e1553061 style + docker + tests 2020-10-14 22:43:08 +03:00
nikitamikhaylov
ff7601a52c add python test and fix build 2020-10-14 21:41:35 +03:00
nikitamikhaylov
744013d4b8 test in comparison with scipy 2020-10-13 21:46:15 +03:00
nikitamikhaylov
e65a2a1cbd add student t test 2020-10-12 21:10:01 +03:00
nikitamikhaylov
20ebd4fd5b better 2020-10-12 19:37:04 +03:00
Nikita Mikhaylov
ad42e610cb
Merge branch 'master' into welch 2020-10-12 16:23:09 +03:00
myrrc
d48114b79a Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-12 14:17:44 +03:00
Alexey Milovidov
269b6383f5 Check for #pragma once in headers 2020-10-10 21:37:02 +03:00
Nikolai Kochetov
a7fb2e38a5 Use ColumnWithTypeAndName as function argument instead of Block. 2020-10-09 10:41:28 +03:00
Pavel Kruglov
7acd85d2b1 Fix style error 2020-10-02 22:20:35 +03:00
Pavel Kruglov
f6f4285348 Improve quantileTDigest performance 2020-10-02 20:13:55 +03:00
myrrc
8094ba713e first steps: changed allowed types 2020-09-28 17:33:52 +03:00
detailyang
6e70f2ce7a bugfix:aggregate:fix boundingratio args check 2020-09-28 19:56:42 +08:00
Artem Zuikov
51ba12c2c3
Try speedup build (#14809) 2020-09-15 12:55:57 +03:00
alexey-milovidov
1e300d9119
Merge pull request #14562 from CurtizJ/fix-fuzz
Fix segfault in combinator -Resample
2020-09-08 23:53:14 +03:00
alexey-milovidov
a5499ab9d6
Merge pull request #14555 from 4ertus2/some
Hide symbols in nameless namespace
2020-09-08 19:55:56 +03:00
Anton Popov
ee218c354e fix segfault in combinator -Resample 2020-09-08 02:21:12 +03:00
Alexey Milovidov
e3924b8057 Fix "Arcadia" 2020-09-08 01:14:13 +03:00
Artem Zuikov
b3eafc1106 hide symbols in nameless namespace 2020-09-07 21:00:37 +03:00
Nikita Mikhaylov
5d9367aea4
Merge pull request #14411 from nikitamikhaylov/rank-corr
Merging #11769 (Rank Correlation Spearman)
2020-09-07 21:18:19 +04:00
Alexey Milovidov
1cee6d5a31 Check for array size overflow in topK #14452 2020-09-04 04:05:57 +03:00
Nikita Mikhaylov
cdb1f30630 style + fast test 2020-09-02 16:49:47 +03:00
Nikita Mikhaylov
7021f6edc1 better
(cherry picked from commit 81481f26b5)
2020-09-02 15:47:23 +03:00
Nikita Mikhaylov
e9a1f4a383 update ya.make
(cherry picked from commit e62043e83b)
(cherry picked from commit a850388e62)
2020-09-02 15:47:17 +03:00
Nikita Mikhaylov
eee19dada4 fixes + test
(cherry picked from commit 5daee1cae1)
(cherry picked from commit c3dfb8e838)
2020-09-02 15:47:09 +03:00
antikvist
a695344434 rank corr
(cherry picked from commit 649e4dd913)
(cherry picked from commit ae17810201)
2020-09-02 15:46:42 +03:00
antikvist
efc59d6686 rank corr
(cherry picked from commit 11c94bee69)
(cherry picked from commit 483409f2e1)
2020-09-02 15:46:29 +03:00
antikvist
e32887d300 rank corr
(cherry picked from commit 2815397a19)
(cherry picked from commit d244797def)
2020-09-02 15:45:59 +03:00
antikvist
950094c233 rank correlation
(cherry picked from commit f9dda1e13e)
(cherry picked from commit 2a7026cb0c)
2020-09-02 15:45:51 +03:00
antikvist
098561def3 welch t-test
(cherry picked from commit 5cd118dcee)
(cherry picked from commit 8f19270f8d)
2020-09-02 15:45:37 +03:00
antikvist
df668d6297 Rank Correlation
(cherry picked from commit 3009c3885b)
(cherry picked from commit 024ff439e7)
2020-09-02 15:45:31 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library (#14219) 2020-09-01 12:54:50 +03:00
Alexander Kuzmenkov
134aae89f3
Merge pull request #14110 from 4ertus2/decimal
Fix Decimal to Float conversion and toDecimal256() function
2020-08-31 17:08:49 +03:00
alexey-milovidov
f6f8dc9b8a
Merge pull request #13964 from zhang2014/fix/agg_combinator
Try fix IfAggCombinator with NullAggCombinator
2020-08-26 23:47:29 +03:00
Artem Zuikov
fe5db661ce fix decimal to float conversion and toDecimal256() 2020-08-26 15:26:12 +03:00
Azat Khuzhin
99db9341a2 Fix -Werror=type-limits in AggregateFunctionTimeSeriesGroupSum.h (size_t() >= 0)
gcc10 reports:

    In file included from ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.cpp:1:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h: In instantiation of ‘void DB::AggregateFunctionTimeSeriesGroupSumData<rate>::add(DB::UInt64, DB::Int64, DB::Float64) [with bool rate = true; DB::UInt64 = long unsigned int; DB::Int64 = long int; DB::Float64 = double]’:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:246:34:   required from ‘void DB::AggregateFunctionTimeSeriesGroupSum<rate>::add(DB::AggregateDataPtr, const DB::IColumn**, size_t, DB::Arena*) const [with bool rate = true; DB::AggregateDataPtr = char*; size_t = long unsigned int]’
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:239:10:   required from here
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:113:71: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
      113 |         while (result[i].first > it_ss->second.dps.front().first && i >= 0)
          |                                                                     ~~^~~~
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h: In instantiation of ‘void DB::AggregateFunctionTimeSeriesGroupSumData<rate>::add(DB::UInt64, DB::Int64, DB::Float64) [with bool rate = false; DB::UInt64 = long unsigned int; DB::Int64 = long int; DB::Float64 = double]’:
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:246:34:   required from ‘void DB::AggregateFunctionTimeSeriesGroupSum<rate>::add(DB::AggregateDataPtr, const DB::IColumn**, size_t, DB::Arena*) const [with bool rate = false; DB::AggregateDataPtr = char*; size_t = long unsigned int]’
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:239:10:   required from here
    ../src/AggregateFunctions/AggregateFunctionTimeSeriesGroupSum.h:113:71: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
2020-08-25 21:20:04 +03:00
Nikita Mikhaylov
7209809e29 get rid of virtual call 2020-08-24 14:54:04 +03:00
Winter Zhang
75af61ea95
Try fix style failure 2020-08-24 18:51:54 +08:00
zhang2014
63868aaed3 Try fix CI 2020-08-24 13:05:59 +08:00
bharatnc
64d848f5c8 fix gcc-9 build check error 2020-08-23 10:09:41 -07:00
bharatnc
dd3068e2bb fix file formatting 2020-08-23 10:09:41 -07:00
bharatnc
e1bf87019c add quantileExactLow & quantileExactHigh functions
This PR adds the quantileExactLow and quantileExactHigh
implementations which are equivalent to how the `median_low`
and `median_high` functions are implemented in python.

`median_low`: https://github.com/python/cpython/blob/master/Lib/statistics.py#L438
`median_high`: https://github.com/python/cpython/blob/master/Lib/statistics.py#L460
2020-08-23 10:09:41 -07:00
zhang2014
0e8cb96eb1 Try fix IfAggCombinator with NullAggCombinator 2020-08-22 22:57:46 +08:00
alexey-milovidov
cda85a7828
Update AggregateFunctionResample.h 2020-08-21 15:05:58 +03:00
Mikhail f. Shiryaev
622c2d7e45
Increase limit in -Resample combinator to 1M 2020-08-21 13:35:19 +02:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals (#13097) 2020-08-19 14:52:17 +03:00
Azat Khuzhin
0eac96972c Fix topK/topKWeighted merge (wtih non-default parameters) 2020-08-16 22:32:56 +03:00
Alexey Milovidov
8c85ab3753 Fix error with batch aggregation and -Array combinator 2020-08-14 09:52:28 +03:00
Alexey Milovidov
350b8e87a7 Merge branch 'master' into fixed-hash-map-implicit-zero-6 2020-08-09 01:48:12 +03:00
Alexey Milovidov
edd89a8610 Fix half of typos 2020-08-08 03:47:03 +03:00
Alexey Milovidov
e3235e5b6e Fix build 2020-08-07 22:06:31 +03:00
Alexey Milovidov
476da6c1fe Slightly better 2020-08-07 03:35:13 +03:00
Alexey Milovidov
cf618c1e23 Remove false statements 2020-08-07 03:33:17 +03:00
Alexey Milovidov
733bd0ecec Fix error 2020-08-07 03:29:52 +03:00
Alexey Milovidov
5c1703bd6c Merge branch 'master' into fixed-hash-map-implicit-zero-6 2020-08-07 02:58:57 +03:00
alesapin
2ef491bc53 Fix moving sum segfault 2020-08-04 22:45:39 +03:00
Alexey Milovidov
6d5b9c36e0 Lower unroll count 2020-08-04 01:40:55 +03:00
Alexey Milovidov
e241df5541 Add warning suppression for gcc 2020-08-04 01:40:55 +03:00
Alexey Milovidov
373cd918fb Remove warning suppression 2020-08-04 01:40:55 +03:00
Alexey Milovidov
eb534ebee3 Fix warning 2020-08-04 01:40:55 +03:00
Alexey Milovidov
f29c0af9aa Simpler code 2020-08-04 01:40:55 +03:00
Alexey Milovidov
a9998746ea Added fully unrolled method 2020-08-04 01:40:55 +03:00
Alexey Milovidov
ba6d5d00d9 Apply one of the variants 2020-08-04 01:40:55 +03:00
alexey-milovidov
71d8cab08c
Merge pull request #12622 from ClickHouse/fix-group-array-moving
Fix various code defects in groupArrayMoving functions
2020-08-03 20:35:24 +03:00
alexey-milovidov
3015503dc6
Merge pull request #13254 from ClickHouse/fix-hash-table-nan-key
Fix hash table with NaN keys
2020-08-03 19:37:17 +03:00
Alexey Milovidov
486a4b3a17 Merge branch 'master' into fixed-hash-map-implicit-zero-4 2020-08-03 04:19:22 +03:00
Alexey Milovidov
23c268e5ef Continue 2020-08-03 03:01:23 +03:00
alexey-milovidov
1e91238466
Merge pull request #13225 from ClickHouse/map-skip-null
Fix assert in *Map aggregate functions
2020-08-03 02:12:48 +03:00
Alexey Milovidov
4d55376a59 Fix style 2020-08-02 17:22:53 +03:00
Alexey Milovidov
6f690b7c0d Normalize ya.make files, fix "Arcadia" build 2020-08-02 16:57:38 +03:00
Alexey Milovidov
eb3422477e Fix assert in *Map aggregate functions 2020-08-02 04:29:52 +03:00
Alexey Milovidov
1088bfffb1 Special case for aggregation by 8bit field 2020-08-02 01:11:00 +03:00
Alexey Milovidov
e3946ef878 More sane 2020-07-30 23:41:14 +03:00
Alexey Milovidov
833e1ab4e8 Remove ridiculous trash 2020-07-30 23:24:54 +03:00
Alexey Milovidov
9898f89c1a Fix various code defects in groupArrayMoving functions #12568 2020-07-21 14:03:50 +03:00
Alexey Milovidov
83b2db4e5b Fixup 2020-07-16 05:09:02 +03:00
Alexey Milovidov
cb0b74af86 Fix AggregateFunctionAvg serialization backwards compatibility 2020-07-14 11:56:01 +03:00
Alexey Milovidov
70273725d5 Fix error 2020-07-10 08:30:54 +03:00
Alexey Milovidov
c610a4b0a8 Fix error with ownership of aggregate function states with nested states 2020-07-10 08:28:34 +03:00
Alexey Milovidov
12e00411b4 Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments #12163 2020-07-10 06:23:42 +03:00
Alexey Milovidov
f252dd94c8 Miscellaneous 2020-07-10 05:17:15 +03:00
Alexey Milovidov
7f3a8f3eb9 Fix bad code in redundant ORDER BY optimization #10067 2020-07-06 02:50:20 +03:00
Alexey Milovidov
96e8e93c64 Fix warnings from CodeQL 2020-07-05 02:16:16 +03:00
Alexey Milovidov
15cddc3c6e Make topK return Enum for Enum types 2020-06-30 02:17:20 +03:00
Alexey Milovidov
1462a66d1e Fix typos 2020-06-27 22:05:00 +03:00
Anton Popov
685d14863b tests with distributed 2020-06-26 01:39:54 +03:00
Anton Popov
14e09e5650 Merge remote-tracking branch 'upstream/master' into HEAD 2020-06-25 14:59:15 +03:00
Anton Popov
faa5d7e0f1 fix arcadia build 2020-06-24 13:01:44 +03:00
Anton Popov
3f0f0ff5ad add perf test for distinct combinator 2020-06-22 16:31:37 +03:00
Alexander Kuzmenkov
fbecf42dfc report the number of errors 2020-06-20 01:41:15 +03:00
Anton Popov
7a76abeb2a distinct combinator for function of multiuple arguments 2020-06-19 23:13:23 +03:00
antikvist
4660da3e5e welch t-test 2020-06-18 22:18:52 +03:00
Azat Khuzhin
2bd05baa7a Move AggregateFunctionCount out from clickhouse_aggregate_functions to dbms
As suggested by @alexey-milovidov
2020-06-18 11:22:40 +03:00
Anton Popov
fb7f4c6369 fix build 2020-06-18 02:42:40 +03:00
Anton Popov
8ba5bd8530 Merge remote-tracking branch 'upstream/master' into distinct-combinator 2020-06-18 01:44:36 +03:00
Anton Popov
88b325dcdc rework distinct combinator 2020-06-17 22:36:27 +03:00
antikvist
ae8ee1cbfa welch t-test 2020-06-17 22:22:26 +03:00
antikvist
d92160e734 welch t-test 2020-06-17 18:59:58 +03:00
antikvist
d0f92b5492 welch t-test 2020-06-17 18:43:22 +03:00
Alexander Tokmakov
eebfc9d2da fix build with clang-9 2020-06-17 16:19:15 +03:00
Anton Popov
5abbaeecf5 distinct combinator for single numeric arguments 2020-06-17 15:01:47 +03:00
Alexey Milovidov
e720d78f23 Fix tests 2020-06-17 03:08:01 +03:00
Alexey Milovidov
a655765040 Merge branch 'master' into return-not-nullable-from-count-distinct-2 2020-06-17 01:15:57 +03:00
antikvist
21c5ecb597 welch t-test 2020-06-16 22:58:06 +03:00
Anton Popov
d92ba0b216 Merge remote-tracking branch 'upstream/master' into distinct-combinator 2020-06-16 21:13:20 +03:00
Alexander Kuzmenkov
be008cd186 remove some code 2020-06-16 13:44:23 +03:00
antikvist
a7f8d6b380 welch t-test 2020-06-16 12:45:46 +03:00
antikvist
51ff2f4e92 welch t-test 2020-06-16 09:14:54 +03:00
antikvist
965bf4bd65 welch t-test 2020-06-16 01:38:35 +03:00
antikvist
f2b9d42ad2 Merge remote-tracking branch 'upstream/master' into welch
update
2020-06-16 00:49:21 +03:00
Alexander Kuzmenkov
7cc54fd4f1 renames + perf test 2020-06-15 21:53:54 +03:00
antikvist
ccce2537f6 welch t-test 2020-06-15 21:21:48 +03:00
antikvist
2f073ab3f7 welch t-test 2020-06-15 21:18:22 +03:00
Alexander Kuzmenkov
0743e8c15d Merge remote-tracking branch 'origin/master' into minmap 2020-06-15 19:39:57 +03:00
Alexey Milovidov
303d1ebdaf Fix error; more tests 2020-06-15 01:17:06 +03:00
Alexey Milovidov
c4f18d2896 Fix tests 2020-06-15 00:39:22 +03:00
antikvist
3b30ea2f37 welch t-test 2020-06-14 23:00:02 +03:00
Alexey Milovidov
394fb64a9c Better way of implementation 2020-06-14 20:42:11 +03:00
antikvist
9638eb7490 welch t-test 2020-06-14 19:18:04 +03:00
Alexey Milovidov
3958a032ac Added a test 2020-06-14 08:15:29 +03:00
antikvist
cb8eec8def welch t-test 2020-06-14 00:55:01 +03:00
antikvist
13faa3d83f welch t-test 2020-06-13 19:23:17 +03:00
Ildus Kurbangaliev
01d903c60d add minMap and maxMap functions 2020-06-13 08:49:00 +00:00
antikvist
bbfccd491e welch t-test 2020-06-12 16:51:33 +03:00
antikvist
1903e6cec2 pray to ClickHouse gods 2020-06-12 02:43:55 +03:00
antikvist
31a2fbed8c
Merge pull request #2 from antikvist/master
update welch to master
2020-06-12 01:38:35 +03:00
Alexey Milovidov
e40ee1a173 Return non-Nullable results from COUNT(DISTINCT) 2020-06-11 06:45:12 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
Alexander Kuzmenkov
7db8edf402
Merge pull request #11446 from ClickHouse/aku/better-error-messages
Improve error messages
2020-06-05 13:11:02 +03:00
Alexander Kuzmenkov
435f53e05a Improve error messages
Also support fmt for exception messages, the same way we use it in
logging macros.
2020-06-04 20:50:29 +03:00