Alexey Milovidov
3958a032ac
Added a test
2020-06-14 08:15:29 +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
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
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
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
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
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
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
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
hcz
8a60e22223
Fix OrNull and OrDefault
2020-05-08 17:52:54 +08:00
Alexey Milovidov
8f7374c6de
Fix another UBSan warning
2020-05-03 21:39:52 +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
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
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