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
Alexander Kuzmenkov
07e4bb7050
Remove assorted synonyms of LOGICAL_ERROR.
...
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
2020-06-03 16:18:42 +03:00
Nikolai Kochetov
8b1b96bfd8
Fix build.
2020-06-01 19:32:56 +03:00
Nikolai Kochetov
35190e3f56
Fix arguments for AggregateFunctionQuantile/
2020-06-01 19:12:15 +03:00
Sofia Antipushina
3543da3ca4
fix stylecheck
2020-05-31 17:44:49 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
Dmitry
38c585f867
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-26 21:27:50 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Sofia Antipushina
f206d74b63
fix align of data && add test
2020-05-25 17:02:55 +03:00
Sofia Antipushina
7135b8491c
Base memory data storage
2020-05-25 15:12:50 +03:00
Alexander Kuzmenkov
8d5bbed2de
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:44:11 +03:00
Alexey Milovidov
73a3394b3d
Clarifications #10981
2020-05-23 17:28:22 +03:00
alexey-milovidov
34eb533842
Merge pull request #10981 from g-arslan/master
...
Try to remove redundant data move in radix sort
2020-05-23 15:55:35 +03:00
Dmitry
47778c0259
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-21 23:45:12 +03:00
Alexey Milovidov
581b2358de
Added comment
2020-05-21 15:07:12 +03:00
Alexey Milovidov
3c763908c3
Added comment
2020-05-21 15:04:15 +03:00
g-arslan
95668def24
Try to remove redundant data move in radix sort
2020-05-21 15:00:55 +03:00
Alexander Kuzmenkov
50df893dc6
Assert that allocator & container are consistent wrt. inline memory
...
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.
For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
Sofia Antipushina
d2aa881345
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2020-05-18 13:41:03 +03:00
Alexey Milovidov
f5072aab18
Fix error
2020-05-18 08:01:55 +03:00
Alexey Milovidov
719a3b5a2c
Performance improvement for "sum" over nullable
2020-05-18 07:49:51 +03:00
Alexey Milovidov
6f0c78dfdd
Vectorize "sum" function
2020-05-18 06:50:53 +03:00
antikvist
6069750b0e
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-17 14:15:49 +03:00
antikvist
f6e6c48d9c
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-17 12:25:41 +03:00
Alexey Milovidov
3320fdce57
Fix error
2020-05-17 05:39:02 +03:00
Alexey Milovidov
e0aaddb262
Fixed error
2020-05-16 22:55:38 +03:00
Alexey Milovidov
a9f64b4c1c
Ensure that the variance is nonnegative
2020-05-16 22:55:38 +03:00
Anton Popov
f4369381c9
Fix build
2020-05-16 18:00:33 +03:00
Sofia Antipushina
aeb195950c
Checkstyle fix
2020-05-16 03:15:44 +03:00
Sofia Antipushina
7c6322c5b0
Add support for many columns
2020-05-16 02:06:25 +03:00
Sofia Antipushina
13224c22ab
Stylecheck fix
2020-05-15 05:02:57 +03:00
Sofia Antipushina
da81c56b5e
Delete extra lines
2020-05-14 22:46:01 +03:00
Sofia Antipushina
6e2b93e5af
Stylefix
2020-05-14 22:37:53 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
Sofia Antipushina
4739b87732
Add -Distinct combinator
2020-05-14 05:14:50 +03:00
Dmitry
c4295d97f9
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-12 17:57:32 +03:00
alexey-milovidov
27a1e5d317
Merge pull request #10792 from ClickHouse/xolm-fuzz_functions
...
Merging randomString
2020-05-11 06:15:35 +03:00
Alexey Milovidov
49e57c555d
Fixed code; added a test
2020-05-11 03:16:50 +03:00
Alexey Milovidov
fb32dbe6ee
Enable more warnings
2020-05-10 00:44:33 +03:00
alexey-milovidov
e41e998f4a
Merge pull request #10758 from bgiard/master
...
Fix serialize/deserialize of denominator of Average functions
2020-05-09 21:22:16 +03:00
alexey-milovidov
699ef4ff52
Merge pull request #10741 from hczhcz/patch-0422
...
Fix OrNull and OrDefault
2020-05-09 04:38:32 +03:00
antikvist
6d6f0b00ba
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-09 01:55:09 +03:00
Baudouin Giard
be2cf70da8
Fix serialize/deserialize of denominator of Average functions
...
Use writeBinary/readBinary to serialize/deserialize the denominator of Average functions.
Previously it would be transmitted as an unsigned int, which means its value would get corrupted when doing an avgWeighted over a floating point number.
Note: this commit is not backwards compatible!
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-05-08 15:10:47 -04:00
antikvist
df4c312e14
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-08 13:17:59 +03:00
hcz
8a60e22223
Fix OrNull and OrDefault
2020-05-08 17:52:54 +08:00
antikvist
4b4ff06cab
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-08 02:22:12 +03:00
antikvist
ab7d1fb86f
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-08 00:44:31 +03:00
antikvist
b390043f31
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-08 00:39:51 +03:00
antikvist
7975d8d5b0
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-07 23:11:25 +03:00
antikvist
92afa6c0de
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-07 17:14:29 +03:00
antikvist
3dde788146
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-07 14:17:58 +03:00
antikvist
f0ac5b441f
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-06 02:07:51 +03:00
antikvist
4f56cc32ae
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-06 00:48:05 +03:00
Alexey Milovidov
8f7374c6de
Fix another UBSan warning
2020-05-03 21:39:52 +03:00
antikvist
7cfe5ef42b
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-05-01 00:36:37 +03:00
Alexander Kuzmenkov
7f5b57c6c5
Merge pull request #10559 from ClickHouse/aku/summap-experiment
...
Merge pull request #10000 (sumMap for Tuple argument)
2020-04-30 11:56:04 +03:00
Alexander Kuzmenkov
c5a7796d16
fixup
2020-04-29 09:35:02 +03:00
Alexander Kuzmenkov
31bf2b3be4
fixup
2020-04-29 09:05:52 +03:00
Alexander Kuzmenkov
73398a3e17
fixup
2020-04-28 17:30:45 +03:00
antikvist
dcfb99b987
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-04-27 19:16:02 +03:00
antikvist
62460faf97
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-04-27 01:59:41 +03:00
antikvist
69c1f33b0b
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-04-27 00:09:56 +03:00
alexey-milovidov
62e2f10959
Merge pull request #10474 from hczhcz/patch-0422
...
Fix overflow in simpleLinearRegression
2020-04-26 17:34:57 +03:00
Dmitry
d9ac0e8fef
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-26 14:44:06 +03:00
hcz
541cd638ba
Fix overflow in simpleLinearRegression
2020-04-24 16:33:09 +08:00
Alexey Milovidov
d3418bbb02
Fix clang-tidy
2020-04-22 11:45:14 +03:00
Alexey Milovidov
8c9408f927
Checkpoint
2020-04-22 11:31:10 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Alexander Kuzmenkov
3ee89344af
Statically dispatch on whether the argument is a Tuple
2020-04-20 18:37:28 +03:00
antikvist
665fabde9e
#WelchTTest aggregate function implementation
...
What's new:
-Main classes for aggreagate function added.
-Data class with needed mathods added.
-Registered function in registerAggregateFunctions.h
2020-04-18 19:20:34 +03:00
Dmitry
25cd4ce132
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-18 12:56:34 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Ildus Kurbangaliev
602baf62f0
Improve implementation of sumMap for tuples
2020-04-16 17:26:17 +00:00
Ildus Kurbangaliev
fcacca68d7
Update src/AggregateFunctions/AggregateFunctionSumMap.cpp
...
Co-Authored-By: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2020-04-16 16:43:16 +00:00
Ildus Kurbangaliev
6244270809
Add SimpleAggregateFunction support for sumMap
2020-04-16 16:43:16 +00:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00