Commit Graph

1762 Commits

Author SHA1 Message Date
Raúl Marín
2d71543f9e Unify AggregateFunctionArgMinMaxData memory 2024-01-10 12:53:29 +01:00
Raúl Marín
5966249f4f Fix one bug 2024-01-10 11:49:14 +01:00
Raúl Marín
66f3a5e50a
Update SingleValueData.cpp 2024-01-09 22:16:13 +01:00
Raúl Marín
be5eaf53aa Cleanup 2024-01-09 21:23:26 +01:00
Raúl Marín
d3cbbb319e Implement argMin 2024-01-09 20:58:05 +01:00
Raúl Marín
d5b6f82f3e Optimize (not fully) argMax with numbers 2024-01-09 20:32:34 +01:00
Raúl Marín
5009280475 Initial implementation of (unoptimized) argMax with fast compilation 2024-01-09 19:29:56 +01:00
Raúl Marín
227baac06a Reimplement any and anyLast 2024-01-09 14:55:38 +01:00
Raúl Marín
067aea6eb2 Reimplement anyHeavy 2024-01-09 13:13:57 +01:00
Raúl Marín
ff98e7637c AggregateFunctionSingleValueOrNull: Prefer composition to inheritance 2024-01-09 13:11:58 +01:00
Raúl Marín
ada73c61f2 Move any_respect_nulls/anyLast_respect_nulls to their own file! 2024-01-09 12:15:58 +01:00
Raúl Marín
49d089d157 Reimplement singleValueOrNull 2024-01-09 11:38:18 +01:00
Raúl Marín
b3cd4069b7 Reimplement AggregateFunctionMin 2024-01-09 11:38:18 +01:00
Raúl Marín
0522d859c2
Merge pull request #58334 from Algunenano/minmax_non_numeric
Speedup MIN/MAX for non numeric types
2024-01-04 19:48:18 +01:00
Raúl Marín
5bfddfebb6 Fix instantiation detection 2024-01-04 14:08:58 +00:00
Raúl Marín
1c40700ea1 Merge remote-tracking branch 'blessed/master' into minmax_non_numeric 2024-01-03 14:09:28 +01:00
Raúl Marín
5fb7f9f861 Ignore other numeric types for now 2023-12-29 18:09:20 +01:00
Raúl Marín
22ef5443bb Move findNumeric to .cpp 2023-12-29 17:22:06 +01:00
Raúl Marín
4b7fcfbc75 Use iota in more places 2023-12-29 17:20:18 +01:00
Raúl Marín
bda6104f84 Replace std::iota with DB::iota where possible 2023-12-29 14:38:22 +01:00
凌涛
4630398d23 optimize 2023-12-29 10:38:13 +08:00
凌涛
7bd8488db5 Funciont sparkBar alias sparkbar 2023-12-29 10:08:17 +08:00
Raúl Marín
8a90f12dc9 Speedup MIN/MAX for non numeric types 2023-12-28 23:28:26 +01:00
robot-ch-test-poll2
04178a9028
Merge pull request #58231 from Algunenano/new_minmax
Speedup MIN and MAX for native types
2023-12-28 01:22:38 +01:00
Azat Khuzhin
b9233f6d4f Move Allocator code into module part
This should reduce amount of code that should be recompiled on
Exception.h changes (and everything else that had been included there).

This will actually not help a lot, because it is also included into
PODArray.h and ThreadPool.h at least... Sigh.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-27 15:42:08 +01:00
Raúl Marín
68787cedd6 Linter warnings 2023-12-27 08:51:17 +00:00
Raúl Marín
76abd32196 Speedup MIN and MAX for native types 2023-12-26 20:23:55 +01:00
Azat Khuzhin
3be3b0a280 Fix incorrect Exceptions
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-24 21:26:32 +01:00
Anton Popov
e4e97471a6 fix totals in aggregation functions with Map combinator 2023-12-12 17:31:56 +00:00
Azat Khuzhin
7af1c0885d Do not call add*() from addBatchSparseSinglePlace() if there are no rows
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-09 22:47:25 +01:00
Azat Khuzhin
472a31e581 Fix SIGSEGV for aggregation of sparse columns with any() RESPECT NULL
Add proper check into any() RESPECT NULL

Fixes: https://github.com/ClickHouse/ClickHouse/issues/57709
Fixes: https://github.com/ClickHouse/ClickHouse/pull/57189 (cc @Algunenano)
CI: https://s3.amazonaws.com/clickhouse-test-reports/52717/7ec9c6a7f7490b5075407410dc193a2534216e15/fuzzer_astfuzzerdebug/report.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-09 22:47:15 +01:00
FFish
add243593d
fix: split lttb bucket strategy, first bucket and last bucket should only contain single point (#57003)
* fix: split lttb bucket policy, first bucket and last bucket should only
contain single point

* add comments and modify the corresponding query test

* style: update code format

* style: remove useless comments

* feat: add lttb bucket size test

* fix: typo, duplicate sql
2023-12-07 12:29:37 +01:00
Alexey Milovidov
2988f6f92a
Revert "Add new aggregation function groupArraySorted()" 2023-12-05 15:31:17 +03:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Nikolai Kochetov
024f41888e
Merge pull request #53562 from yariks5s/group_sorted_array_function
Add new aggregation function groupArraySorted()
2023-11-29 17:52:01 +01:00
Han Fei
4c0efb0262
Merge pull request #53240 from hanfei1991/hanfei/statistic
use statistic to order prewhere conditions better
2023-11-29 12:26:44 +01:00
vdimir
001b67863a
Merge pull request #57265 from ClickHouse/vdimir/analyzer_aggregate_nothing_type
Analyzer: fix result type of aggregate function with NULL
2023-11-29 11:27:54 +01:00
Raúl Marín
b102145a4f
Merge pull request #57301 from Algunenano/fix_reports
Fix code reports
2023-11-29 11:11:33 +01:00
Yarik Briukhovetskyi
1f672b8654
possibly fix fuzzer 2023-11-28 19:37:00 +01:00
Han Fei
6733438adc Merge branch 'master' into hanfei/statistic 2023-11-28 16:35:00 +01:00
Yarik Briukhovetskyi
460134c8f6
Update AggregateFunctionGroupArraySorted.h 2023-11-28 15:25:11 +01:00
vdimir
20ce32f69a
Use original function name instead of nothing in FunctionNode::toAST 2023-11-28 14:16:01 +00:00
Raúl Marín
4e6ff36abf Fix issue found by AST fuzzer 2023-11-28 13:22:02 +01:00
Raúl Marín
48fff248e5 Merge remote-tracking branch 'blessed/master' into fix_respect_nulls 2023-11-28 12:28:36 +01:00
vdimir
1f474a870a
Add extra argument to function 'nothing' only in QueryAnalysisPass 2023-11-28 10:11:38 +00:00
vdimir
04baafccba
Analyzer: fix result type of aggregate function with NULL 2023-11-28 10:11:34 +00:00
Raúl Marín
148ba93903 Add comment for AggregateFunctionCombinatorNull::transformAggregateFunction 2023-11-28 10:02:52 +00:00
Han Fei
7bd2ea3add Merge branch 'master' into hanfei/statistic 2023-11-27 23:31:23 +01:00
Raúl Marín
a3ceafbbed Fix embarrasing bug number 2 2023-11-27 23:12:17 +01:00
Raúl Marín
0754ee4901 Fix embarrasing bug number 1 2023-11-27 23:12:17 +01:00
Raúl Marín
80cc1b3a17 Remove addBatchSinglePlaceFromInterval 2023-11-27 23:12:17 +01:00
Raúl Marín
3395c7c745 Provide a custom implementation for respect_null aggregations 2023-11-27 19:29:20 +01:00
Raúl Marín
0d0d813a31 PR review suggestions 2023-11-27 17:39:11 +01:00
yariks5s
a9ed876615 added size assert (possible fix of fuzzer) 2023-11-27 15:49:37 +00:00
yariks5s
b8590f8f36 style check 2023-11-27 11:44:51 +00:00
Raúl Marín
829c2b2355 Clang-tidy detected problems 2023-11-27 11:00:27 +01:00
Raúl Marín
56b15a7294 Fix style 2023-11-27 11:00:27 +01:00
Raúl Marín
4250c6626c Move handling of RESPECT NULLS outside of the parser 2023-11-27 11:00:27 +01:00
Raúl Marín
d8ac46e064 Make RESPECT NULLS case insensitive and compatible with combinators 2023-11-27 11:00:27 +01:00
Raúl Marín
f0e832a6b9 Move respect nulls constructors to implementation file 2023-11-27 11:00:27 +01:00
Raúl Marín
a3e342a477 Separate first_value and first_value_respect_nulls states 2023-11-27 11:00:27 +01:00
yariks5s
cc8ac432dd rewrite function to be independent of groupArray, add test 2023-11-24 18:55:15 +00:00
Yarik Briukhovetskyi
69205769d0
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-11-23 20:23:47 +01:00
yariks5s
cb6898b52f fix due to review 2023-11-23 18:17:47 +00:00
Alexey Milovidov
c4de4045f1 Fix error 2023-11-13 06:29:45 +01:00
Alexey Milovidov
e6149cb1f0 Fix idiotic behavior of sumMap aggregate function 2023-11-12 06:45:05 +01:00
Alexey Milovidov
345f3935ff Something 2023-11-12 06:39:16 +01:00
Alexey Milovidov
faee91a820 Fix style 2023-11-12 04:36:50 +01:00
Alexey Milovidov
84bd67dd30 Parallelize compilation for RISC-V 2023-11-12 04:23:05 +01:00
Alexey Milovidov
0de9f83192 Fix tidy 2023-11-12 00:23:09 +01:00
Alexey Milovidov
7138174401 Maybe fix tidy 2023-11-11 08:58:06 +01:00
Alexey Milovidov
c94f4266fa Merge branch 'remove-cpp-templates-2' into system-symbols 2023-11-11 04:12:44 +01:00
Alexey Milovidov
4de5ee8acc Something 2023-11-11 01:01:43 +01:00
Alexey Milovidov
45146d14d3 sumMap: simplification (one lookup instead of two) 2023-11-10 02:24:18 +01:00
Alexey Milovidov
0e9b418341 Simplify uniqCombined 2023-11-10 02:05:35 +01:00
Alexey Milovidov
3f5b94b8ca Remove useless using 2023-11-09 23:37:39 +01:00
Alexey Milovidov
02035d9b90 Remove useless using 2023-11-09 23:37:00 +01:00
Alexey Milovidov
30bec95d11 Remove support of Decimal inside avgWeighted #56435 2023-11-08 03:52:23 +01:00
Alexey Milovidov
52bd128f2d Fix style 2023-11-08 03:33:41 +01:00
Alexey Milovidov
a22bef3540 The code was mistakenly written in C instead of C++ 2023-11-07 23:25:39 +01:00
Alexey Milovidov
be106b5c77 Someone thinks too high about their code 2023-11-07 23:20:01 +01:00
Alexey Milovidov
8cd1caab07 Remove C++ templates 2023-11-07 22:54:21 +01:00
Alexey Milovidov
6efb1d1759 Merge with master 2023-11-07 19:44:18 +01:00
Alexey Milovidov
ca83da14f2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into system-symbols 2023-11-07 19:43:19 +01:00
Alexey Milovidov
d7d68b23d9 Address review comments 2023-11-07 18:40:34 +01:00
Alexey Milovidov
35335d9e00 Fix a bug in groupArraySample 2023-11-07 00:24:52 +01:00
Alexey Milovidov
22630c6211 Fix tidy 2023-11-07 00:09:41 +01:00
Alexey Milovidov
04b81ef6a8 Fix unusual shit 2023-11-07 00:09:22 +01:00
Alexey Milovidov
99522df3c1 Fix tidy 2023-11-06 23:50:39 +01:00
Alexey Milovidov
11302688bd Fix tidy 2023-11-06 23:48:23 +01:00
Alexey Milovidov
e3ad367e04 Fix a bug 2023-11-06 23:47:43 +01:00
Alexey Milovidov
21049b23d2 Fix tidy 2023-11-06 23:45:30 +01:00
Alexey Milovidov
571649e2bb Fix a bug 2023-11-06 23:45:07 +01:00
Alexey Milovidov
a16b5c1119 Fix whitespace 2023-11-06 23:40:53 +01:00
Alexey Milovidov
e767df53fd Fix tidy 2023-11-06 23:40:35 +01:00
Alexey Milovidov
145c37f342 Fix tidy 2023-11-06 16:28:05 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions 2023-11-06 13:25:32 +00:00
Alexey Milovidov
23eca8220b Fix test 2023-11-06 05:53:16 +01:00
Alexey Milovidov
4a10b3eff8 Remove trash (C++ templates) 2023-11-06 05:19:40 +01:00
Alexey Milovidov
19f178f0a8 Fix style 2023-11-06 04:56:51 +01:00
Alexey Milovidov
34e52b89c7 Remove useless header files 2023-11-06 03:57:01 +01:00
Alexey Milovidov
184e6f840e Remove useless header files 2023-11-06 03:49:55 +01:00
Alexey Milovidov
9fe9379418 Can I get away with removing so much garbage? 2023-11-06 02:23:55 +01:00
Alexey Milovidov
f9689bd5a0 Continue removal of garbage 2023-11-06 02:13:44 +01:00
Alexey Milovidov
99d90a1430 Attempt to remove garbage 2023-11-06 01:58:20 +01:00
Alexey Milovidov
2d1351c3a6 Remove useless header 2023-11-06 01:34:06 +01:00
Alexey Milovidov
c83530f880
Merge pull request #56223 from ClibMouse/feature/big-endian-contingency
Correct aggregate function cross tab accessors to be endianness-independent.
2023-11-04 17:08:58 +01:00
Alexey Milovidov
b0bd052f8d
Merge pull request #55837 from ClibMouse/feature/big-endian-ip-aggregate-function-states
Correct aggregate functions ser/deserialization to be endianness-independent.
2023-11-02 14:50:26 +01:00
robot-ch-test-poll2
96c0d5833e
Merge pull request #55044 from UnamedRus/optimizebitmap
add runOptimize call in bitmap write method( resubmit of #52842)
2023-11-02 00:30:34 +01:00
kothiga
b530855997
Correct UInt128 accessors for AggregateFunctionCrossTab results. 2023-11-01 12:58:08 -07:00
kothiga
0411f04dd3
Correct the Big Endian state serialization/deserialization for various aggregate functions. 2023-10-31 11:21:37 -07:00
Han Fei
19cdc6dfe2 Merge branch 'master' into hanfei/statistic 2023-10-30 04:53:18 +01:00
Alexey Milovidov
a9532997de Remove some bloat 2023-10-30 03:47:48 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
Raúl Marín
0cd79cb7c0 Prevent excesive memory usage when deserializing AggregateFunctionTopKGenericData 2023-10-23 16:11:16 +02:00
Yakov Olkhovskiy
a517c49d59
Merge pull request #55756 from ClibMouse/max_intersection_fix
Big endian platform max intersection fix
2023-10-18 09:13:03 -04:00
Sinan
c7f78ac73a
Add aggregation function for Largest-Triangle-Three-Buckets (#53145)
* Added a simple lttb aggregate function

* Added support for multiple datatypes

* Added support for Date and Date32, updated LTTBData struct

* Updated code to handle bucket size 0 and 1

* Added sort for LTTBData

* Added tests and documentation

* Added some code style fixes

* Added function to new func ref file

* Removed function from new func ref file

* Apply suggestions from code review

* Updated unit tests

* updated LTTB data code

* Minor style fixes

* Updated code with std sort

* updated tests

* Renamed lttb to largestTriangleThreeBuckets

* Added alias lttb

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-10-18 14:47:18 +02:00
Suzy Wang
585e27009f fix spaces 2023-10-17 21:28:36 +02:00
Suzy Wang
610506febc fix max intersection endian write 2023-10-17 21:28:29 +02:00
Han Fei
fcb19b4f77 Merge branch 'master' into hanfei/statistic 2023-10-09 14:24:58 +02:00
UnamedRus
1f17961703 fix as proposed 2023-09-29 14:28:43 +00:00
UnamedRus
34cc5ec23f
Merge branch 'ClickHouse:master' into optimizebitmap 2023-09-29 23:26:32 +09:00
Amos Bird
51f603bdfc
Rename as suggested. 2023-09-28 15:11:56 +08:00
Amos Bird
056b2693a3
Reorganize combinators into dedicated folder 2023-09-28 15:11:55 +08:00
Amos Bird
de71bfd18b
Introduce -ArgMin/-ArgMax combinators. 2023-09-28 15:11:42 +08:00
Yakov Olkhovskiy
ce734149f7
Merge pull request #55030 from priera/fix_simple_state_with_nullable
Fix simple state with nullable
2023-09-27 22:01:52 -04:00
priera
5b84fe9f0e fixed clang-tidy error 2023-09-27 09:19:37 +02:00
UnamedRus
62bdf1068a add optimize to bitmap write method 2023-09-27 04:07:20 +00:00
priera
49d44e2a9d restored includes order 2023-09-26 18:25:57 +02:00
priera
ec991bd809 applied changes 2023-09-26 17:53:35 +02:00
Robert Schulze
9fff447716
Re-enable clang-tidy checks 2023-09-26 09:34:12 +00:00
yariks5s
01722c7099 fixed uninitialized memory 2023-09-20 15:19:35 +00:00
yariks5s
fa625edd74 Merge branch 'group_sorted_array_function' of github.com:yariks5s/ClickHouse into group_sorted_array_function 2023-09-19 15:20:27 +00:00
yariks5s
9805b752e6 fixed unitialized value 2023-09-19 15:20:05 +00:00
Han Fei
17243b84ab Merge branch 'master' into hanfei/statistic 2023-09-19 17:09:17 +02:00
Yarik Briukhovetskyi
0102dcd6f1
merge fix 2023-09-18 18:57:06 +03:00
Yarik Briukhovetskyi
aedf244667
style check 2023-09-18 18:36:17 +03:00
yariks5s
9cd33da5c8 Merge branch 'group_sorted_array_function' of github.com:yariks5s/ClickHouse into group_sorted_array_function 2023-09-18 15:06:40 +00:00
yariks5s
c68013feb8 small fixes 2023-09-18 15:05:51 +00:00
Yarik Briukhovetskyi
d602adda7a
style check 2023-09-14 16:44:53 +03:00
Yarik Briukhovetskyi
2b7faf1219
build fix 2023-09-14 16:30:12 +03:00
Yarik Briukhovetskyi
9a40d517bf
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-09-14 14:05:40 +03:00
Yarik Briukhovetskyi
d89ec58f13
removed column from add function 2023-09-14 14:04:09 +03:00
Alexey Milovidov
4890a516b4
Revert "add runOptimize call in bitmap write method" 2023-09-12 04:50:23 +03:00
Nikolay Degterinsky
9ee4b280ff
Merge pull request #52842 from UnamedRus/bitmap-optimize
add runOptimize call in bitmap write method
2023-09-10 23:56:28 +02:00
Alexey Milovidov
047d481c97
Merge pull request #54382 from evillique/std-alias
Add STD alias to stddevPop function for MySQL compatibility
2023-09-09 02:57:06 +03:00
Antonio Andelic
c795b9c32f Check for overflow before addition in anova function 2023-09-07 07:54:06 +00:00
Nikolay Degterinsky
d95c29227f Add STD alias to stddevPop function for MySQL compatibility 2023-09-07 03:46:27 +00:00
Yarik Briukhovetskyi
9e90d0a4d6
Update AggregateFunctionGroupArraySorted.h 2023-09-05 22:45:54 +02:00
yariks5s
1737573e8e Merge branch 'group_sorted_array_function' of github.com:yariks5s/ClickHouse into group_sorted_array_function 2023-09-05 18:30:43 +00:00
yariks5s
a4dc12c4c9 resolved reviews 2023-09-05 18:30:27 +00:00
robot-clickhouse
926c5636dd
Merge pull request #42599 from ClickHouse/build-fuzzer-protocol
libFuzzer: add CI fuzzers build, add tcp protocol fuzzer, fix other fuzzers.
2023-09-04 22:41:54 +02:00
Han Fei
f60dad0598 Merge branch 'master' into hanfei/statistic 2023-09-04 16:17:07 +02:00
Han Fei
2330a28f7b support estimate by stat 2023-09-04 15:51:00 +02:00
Alexey Milovidov
82d9861fc0
Merge pull request #54045 from ClibMouse/feature/uniques-hash-set-big-endian
Correct UniquesHashSet to be endianness-independent.
2023-09-02 00:25:09 +03:00
Yakov Olkhovskiy
361b21b416 fix fuzzers, cmake refactor, add target fuzzers 2023-09-01 14:20:50 +00:00
Yarik Briukhovetskyi
965acddc46
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-09-01 10:57:39 +03:00
yariks5s
8981d15ed7 Merge branch 'group_sorted_array_function' of github.com:yariks5s/ClickHouse into group_sorted_array_function 2023-08-31 18:48:55 +00:00
yariks5s
3cc6afe672 Ehnanced tests, fixed review 2023-08-31 18:48:44 +00:00
Jiebin Sun
7c529e5691
Optimize the merge if all hashSets are singleLevel in UniqExactSet (#52973)
* Optimize the merge if all hashSets are singleLevel

In PR(https://github.com/ClickHouse/ClickHouse/pull/50748), it has added new phase
`parallelizeMergePrepare` before merge if all the hashSets are not all singleLevel
or not all twoLevel. Then it will convert all the singleLevelSet to twoLevelSet in
parallel, which will increase the CPU utilization and QPS.

But if all the hashtables are singleLevel, it could also benefit from the
`parallelizeMergePrepare` optimization in most cases if the hashtable size are not
too small. By tuning the Query `SELECT COUNT(DISTINCT SearchPhase) FROM hits_v1`
in different threads, we have got the mild threshold 6,000.

Test patch with the Query 'SELECT COUNT(DISTINCT Title) FROM hits_v1' on 2x80 vCPUs
server. If the threads are less than 48, the hashSets are all twoLevel or mixed by
singleLevel and twoLevel. If the threads are over 56, all the hashSets are singleLevel.
And the QPS has got at most 2.35x performance gain.

Threads	Opt/Base
8	100.0%
16	99.4%
24	110.3%
32	99.9%
40	99.3%
48	99.8%
56	183.0%
64	234.7%
72	233.1%
80	229.9%
88	224.5%
96	229.6%
104	235.1%
112	229.5%
120	229.1%
128	217.8%
136	222.9%
144	217.8%
152	204.3%
160	203.2%

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>

* Add the comment and explanation for PR#52973

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>

---------

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-08-30 11:26:16 +02:00
kothiga
c25dd560c9
Make UniquesHashSet endianness-independent. 2023-08-29 11:06:21 -07:00
Nikolai Kochetov
a47ae631bd
Merge pull request #53589 from kitaisreal/aggregator-merge-states-in-batch
Experiment Aggregator merge and destroy states in batch
2023-08-28 15:46:49 +02:00
Yakov Olkhovskiy
bbaef4e4f4 fix 2023-08-27 13:29:16 +00:00
Yakov Olkhovskiy
415a993c91 fix fuzzers build 2023-08-24 23:22:39 +00:00
Han Fei
10c622fa08 Merge branch 'master' into hanfei/statistic 2023-08-24 15:56:06 +02:00
Maksim Kita
f0f2d416dd Aggregator merge and destroy states in batch 2023-08-24 15:34:32 +03:00
Han Fei
c29261e5b4 support estimate by t-digest 2023-08-24 14:10:22 +02:00
Yarik Briukhovetskyi
72958343ce
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-08-24 12:58:40 +03:00
yariks5s
ef579cb0f7 fixed memory 2023-08-23 17:07:25 +00:00
Alexey Milovidov
fdfefe58f3
Merge pull request #53650 from ClibMouse/feature/more-aggregate-functions-on-big-endian
Implement support for more aggregate functions on big-endian
2023-08-23 12:35:11 +03:00
Alexey Milovidov
670c879f4c
Merge pull request #53621 from amosbird/consistent_cmake_file_management
Consistent cmake file management
2023-08-22 14:28:04 +03:00
Robert Schulze
acaa2eee58
Merge pull request #53556 from ClibMouse/feature/big-endian-UUID-correction
Change Big Endian-UUID to work the same as Little Endian-UUID
2023-08-22 11:57:44 +02:00
Alexey Milovidov
9874556d85
Merge pull request #53655 from ClibMouse/more-fix-big-endian
State of State and avg aggregation function fix for big endian
2023-08-22 11:49:54 +03:00
Suzy Wang
6edf8f78cc more fixes for big endian 2023-08-21 12:13:56 -07:00
ltrk2
5016257181 Implement endianness-independent serialization 2023-08-21 10:35:14 -07:00
kothiga
d45a7937de
Fix whitespace. 2023-08-21 10:34:39 -07:00
kothiga
52d47785cb
Fix deserialization for quantile deterministic. 2023-08-21 09:52:14 -07:00
Amos Bird
076a67bdaa
Consistent file management in CMake 2023-08-21 11:45:08 +08:00
Yarik Briukhovetskyi
ed7d0fa4cc
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-08-19 01:50:56 +03:00
yariks5s
0406001f6e fixed style check 2023-08-18 18:07:37 +00:00
yariks5s
341cf7da66 added tests and docs, done with func 2023-08-18 17:27:25 +00:00
Nikolai Kochetov
26c7dd2ebb Fixing tidy 2023-08-18 16:08:17 +00:00
Austin Kothig
6b42975d33
Change BE-UUID to work the same as LE-UUID. Included high and low getters to provide cleaner code when accessing undertype. 2023-08-18 08:19:46 -07:00
Nikolai Kochetov
e9d8745971
Merge branch 'master' into group_array_max_element_size 2023-08-18 15:23:01 +02:00
Nikolai Kochetov
88e81a31fa Add server setting group_array_max_element_size. 2023-08-18 13:15:27 +00:00
ltrk2
2846ea49b4
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-14 13:02:30 -04:00
yariks5s
2b9477bbcf fixed impl 2023-08-14 10:58:26 +00:00
Alexey Milovidov
0b4c3fd9f8
Merge pull request #50609 from ClibMouse/s390x_aggregate_array_merge
Maintain same aggregate function merge behavior for small and big endian machine
2023-08-13 08:03:51 +03:00
Alexey Milovidov
b9832c26a9
Merge pull request #52040 from HarryLeeIBM/hlee-s390x-for-each
Fix ForEach aggregate state for s390x
2023-08-12 03:36:55 +03:00
yariks5s
a0e0a3a522 created groupSortedArray by ..Moving 2023-08-11 12:24:44 +00:00
ltrk2
a2054c04dd
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-10 10:21:34 -04:00
Han Fei
2b1f2f1de2 Merge branch 'master' into hanfei/statistic 2023-08-10 00:52:24 +02:00
Han Fei
f5c9d278ad use statistic to order prewhere conditions better 2023-08-09 22:57:49 +02:00
ltrk2
139e9433a8
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-09 09:48:00 -04:00
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02:00
Suzy Wang
7f1ef5f1b4
Merge branch 'master' into s390x_aggregate_array_merge 2023-08-02 11:27:22 -04:00
Nikolai Kochetov
aaba48f0df Fixing build and style. 2023-08-01 17:54:17 +00:00
Nikolai Kochetov
fa06056fa2 Merge branch 'master' into revert-44629-revert_flamegraph 2023-08-01 17:14:16 +00:00
UnamedRus
c8d995e42e
add optimize to bitmap write method 2023-08-01 01:21:46 +03:00
ltrk2
6c9a1b14ef
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-07-28 16:18:46 -04:00