Commit Graph

1366 Commits

Author SHA1 Message Date
Alexey Milovidov
b514a4c70f
Merge pull request #47519 from ClickHouse/fuzzer-of-data-formats
Fuzzer of data formats
2023-03-20 07:20:23 +03:00
Alexey Milovidov
4a44dafdee Merge branch 'master' into decimal256-various 2023-03-20 03:30:14 +01:00
Alexey Milovidov
b415a03aa4
Merge pull request #47714 from ClickHouse/maybe-faster-build
Speed up build
2023-03-20 04:11:46 +03:00
Alexey Milovidov
6118b619a1 Fix style 2023-03-19 17:20:06 +01:00
Alexey Milovidov
7f54aab145 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-of-data-formats 2023-03-19 16:57:35 +01:00
Alexey Milovidov
f0da8f9dcd Better exception messages in -ForEach 2023-03-19 16:38:00 +01:00
Alexey Milovidov
8412a72aaa Fix error 2023-03-19 10:10:33 +01:00
Alexey Milovidov
7c82baff12 Prevent too long (slow) aggregate function combinators 2023-03-19 10:00:12 +01:00
Alexey Milovidov
4f0d86c9a6 Fix style 2023-03-19 09:22:38 +01:00
Alexey Milovidov
cc8e30a744 Split to multiple translation units 2023-03-19 08:54:23 +01:00
Alexey Milovidov
2755e68981 Maybe faster build 2023-03-19 08:36:05 +01:00
Alexey Milovidov
ecff329ca1
Update AggregateFunctionGroupBitmapData.h 2023-03-19 10:18:28 +03:00
Alexey Milovidov
6e1b45d1d6 Fix exotic trash 2023-03-19 06:48:18 +01:00
Alexey Milovidov
637f6fdd51 Limit memory in fuzzers 2023-03-19 06:17:55 +01:00
Alexey Milovidov
465a89ba15 Limit memory in fuzzers 2023-03-19 05:55:53 +01:00
Alexey Milovidov
57a5a946c9 Fix error 2023-03-19 05:34:10 +01:00
Alexey Milovidov
ee98b555fb Limit memory in fuzzers 2023-03-19 05:11:32 +01:00
Alexey Milovidov
8549825a74 Fix obvious error 2023-03-19 02:55:13 +01:00
Alexey Milovidov
9a7883143b Small adjustments 2023-03-19 02:44:39 +01:00
Alexey Milovidov
d0090119a1 I hate short variable names wholeheartedly 2023-03-19 02:39:59 +01:00
Alexey Milovidov
43c931c1a4 Update the fuzzer 2023-03-19 02:27:00 +01:00
Alexey Milovidov
dc19e46cab Add more fuzzers 2023-03-19 02:14:41 +01:00
Alexey Milovidov
2a077f11f6 Merge branch 'master' into fuzzer-of-data-formats 2023-03-19 01:07:31 +01:00
Sema Checherinda
3c6deddd1d work with comments on PR 2023-03-16 19:55:58 +01:00
Alexey Milovidov
a7957adaf8 Fix test 2023-03-15 02:20:22 +01:00
Alexey Milovidov
c07de4719f Fix some tests 2023-03-15 02:00:50 +01:00
Alexey Milovidov
e074a154dd Fix style 2023-03-14 22:47:22 +01:00
Alexey Milovidov
e952ecae8c Add Decimal256 to a lot of places 2023-03-14 22:10:52 +01:00
Alexey Milovidov
f331b9b398 Fix errors and add tests 2023-03-13 23:49:28 +01:00
Alexey Milovidov
38d5635bf2 Fix too large size in quantiles 2023-03-13 07:40:56 +01:00
Alexey Milovidov
2e3aa98535 Add a test, fix logical errors 2023-03-13 06:46:19 +01:00
taiyang-li
9bd75020ff fix failed uts 2023-03-07 18:27:02 +08:00
taiyang-li
067dafe0b7 merge upstream and solve conflicts 2023-03-07 18:03:41 +08:00
taiyang-li
62116d244c change as requested 2023-03-07 17:54:21 +08:00
李扬
8ba11dc994
Update src/AggregateFunctions/AggregateFunctionQuantile.h
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2023-03-07 16:35:18 +08:00
taiyang-li
bd0efdb06a Merge branch 'master' into quantile_gk 2023-03-07 16:29:27 +08:00
Robert Schulze
22d09caea2
SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
Alexey Milovidov
c32f579d67 Review from @tavplubix 2023-02-26 22:58:40 +01:00
Alexey Milovidov
e23d68bcba Fix MSan report in "maxIntersections" function 2023-02-25 00:14:32 +01:00
taiyang-li
68bc4f2cb6 fix typo 2023-02-22 10:08:21 +08:00
李扬
e87e3d9bda
Merge branch 'master' into quantile_gk 2023-02-20 10:27:41 +08:00
Alexey Milovidov
d8cda3dbb8 Remove PVS-Studio 2023-02-19 23:30:05 +01:00
Alexey Milovidov
fa7f7e1d3a
Merge pull request #37870 from zzachimed/Aggregate_Sum_AVX512
Add avx512 support for Aggregate Sum, function unary arithmetic, func…
2023-02-19 17:21:16 +03:00
Alexey Milovidov
a22f0eee2a
Merge branch 'master' into Aggregate_Sum_AVX512 2023-02-19 04:03:45 +03:00
Maksim Kita
cbcfd404c8 AggregateFunctionSequenceNextNode fix argument types 2023-02-16 12:17:02 +01:00
Maksim Kita
c4cb3bb03f Analyzer fix combinators with NULL argument 2023-02-16 12:17:02 +01:00
taiyang-li
384888421e improve checking for accuracy param in quantileGK 2023-02-16 18:27:50 +08:00
taiyang-li
966c5484e6 fix code style 2023-02-16 10:22:58 +08:00
taiyang-li
c417f03bdd improve performance 2023-02-15 22:00:04 +08:00
taiyang-li
ddba07b9c3 improve performance 2023-02-15 21:19:50 +08:00
taiyang-li
a478e57905 fix code style 2023-02-15 18:28:05 +08:00
taiyang-li
dd1e550da6 fix code style 2023-02-15 18:08:11 +08:00
taiyang-li
2aaa04420c finish debug of quantileGK 2023-02-15 18:06:09 +08:00
Yakov Olkhovskiy
1167d2ce8d
Merge pull request #45379 from wujunfu/fix-unsorted-array
Fix: return unsorted array element in quantile function
2023-02-15 00:24:11 -05:00
taiyang-li
5ff1f7237a initial commit of quantileGK 2023-02-14 21:35:16 +08:00
Alexey Milovidov
69d3575ce5 Fix style, remove trash 2023-02-08 05:12:23 +01:00
Alexey Milovidov
2dc014254e Update tests 2023-02-08 03:37:46 +01:00
Alexey Milovidov
41722a6163 Fix assertion in statistical functions 2023-02-08 00:15:32 +01:00
Alexey Milovidov
55c3bbb739 Fix assertion in statistical functions 2023-02-08 00:09:41 +01:00
Vladimir C
e3712bb2c6
Merge pull request #45961 from ClickHouse/vdimir/sparkbar-fix 2023-02-06 11:52:15 +01:00
vdimir
1e45033531
Update AggregateFunctionSparkbar 2023-02-03 17:22:08 +00:00
Nikolai Kochetov
9cabbd07cc
Merge branch 'master' into fix-crash-in-regression 2023-02-03 12:38:29 +01:00
Alexander Gololobov
ccc96ab9cc
Added BAD_ARGUMENTS 2023-02-02 21:50:13 +01:00
Alexey Milovidov
0c7de1941c
Update AggregateFunctionMLMethod.h 2023-02-02 22:14:06 +03:00
Nikolai Kochetov
6b77c1759c Fix crash in stochasticLinearRegression. 2023-02-02 19:08:23 +00:00
pufit
0c13870eb1
Merge pull request #44680 from FFFFFFFHHHHHHH/corrMatrix
add corrMatrix,covarSampMatrix,covarPopMatrix AggregateFunction
2023-02-02 11:06:06 -05:00
vdimir
212b800771
wip AggregateFunctionSparkbar 2023-02-02 15:44:21 +00:00
vdimir
91c93ba8f8
Update AggregateFunctionSparkbar 2023-02-02 13:23:46 +00:00
Yakov Olkhovskiy
f5811a3d5a
Merge branch 'master' into fix-unsorted-array 2023-02-01 22:36:52 -05:00
Alexey Milovidov
95e267561a
Update AggregateFunctionSparkbar.h 2023-02-01 00:46:37 +03:00
Alexey Milovidov
1cb7574498
Update AggregateFunctionSparkbar.h 2023-02-01 00:44:27 +03:00
FFFFFFFHHHHHHH
eb7df4e403 fix 2023-01-31 18:45:37 +08:00
FFFFFFFHHHHHHH
c64ffc6389 fix style 2023-01-31 15:59:35 +08:00
FFFFFFFHHHHHHH
0a6cc61fd9 Merge branch 'corrMatrix' of github.com:FFFFFFFHHHHHHH/ClickHouse into corrMatrix 2023-01-31 15:50:28 +08:00
FFFFFFFHHHHHHH
78f2d6fb25 fix 2023-01-31 15:44:33 +08:00
Duc Canh Le
e8ebd2e845 updateFrame returns size_t 2023-01-31 10:04:19 +08:00
Duc Canh Le
ae98847d31 Merge branch 'master' into ch_canh_fix_sparkbar 2023-01-31 10:01:16 +08:00
Junfu Wu
933bb5f42c fix: return unsorted array element in quantile function 2023-01-28 15:41:42 +08:00
Alexander Tokmakov
a584ad0eb1 forbid runtime strings 2023-01-26 10:52:47 +01:00
Vladimir C
5c845d1ab9
Merge branch 'master' into ch_canh_fix_sparkbar 2023-01-24 13:51:34 +01:00
Alexander Tokmakov
3f6594f4c6 forbid old ctor of Exception 2023-01-23 22:18:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Alexander Tokmakov
5cd90c1a3e Merge branch 'master' into exception_message_patterns 2023-01-17 20:04:04 +01:00
Alexander Tokmakov
72e8615bec formatting of some exception messages 2023-01-17 20:03:56 +01:00
Nikolay Degterinsky
70e79de69b
Merge pull request #38252 from bharatnc/ncb/weighted-quantile-approx
add quantileInterpolatedWeighted function
2023-01-16 13:41:13 +01:00
simpleton
babef5d990
fix: Solve the unique invalid problem of negative interval 2023-01-11 16:08:22 +08:00
Bharat Nallan Chakravarthy
24d3db1295 try binary search when selecting idx 2023-01-10 21:16:20 -08:00
Bharat Nallan Chakravarthy
e18a95719d review fix 2023-01-10 21:16:16 -08:00
Bharat Nallan Chakravarthy
750ce1eb48 review fixes first round 2023-01-05 22:47:58 -08:00
Duc Canh Le
d02227306c fix style check 2023-01-05 16:11:05 +08:00
Duc Canh Le
245bdd8e5e update column inplace 2023-01-05 14:47:23 +08:00
Duc Canh Le
03e6ef2a30 Merge https://github.com/ClickHouse/ClickHouse into ch_canh_fix_sparkbar 2023-01-04 22:11:19 +08:00
Dmitry Novik
a84318af5f
Merge branch 'master' into cleanup-resolved-function 2023-01-03 17:52:29 +01:00
Azat Khuzhin
b9125bb351
Introduce groupArrayLast() (useful to store last X values) (#44521)
* Cleanup DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Remove unused GroupArrayGeneralListImpl

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Introduce groupArrayLast() (useful to store last X values)

Also do some refactoring to make code cleaner:
- rename insert() to insertWithSampler() (since it is used only for
  groupArraySample())
- split merge methods into Last/RNG/...

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 15:20:21 +01:00
FFFFFFFHHHHHHH
43a000c428
Merge branch 'master' into corrMatrix 2022-12-29 19:50:19 +08:00
FFFFFFFHHHHHHH
8366ac5232 fix style 2022-12-29 11:44:24 +08:00
Alexey Milovidov
4fce10940e
Merge pull request #44629 from Algunenano/revert_flamegraph
Revert "Merge pull request #38953 from ClickHouse/add-allocation-ptr-to-trace-log
2022-12-28 22:56:50 +03:00
FFFFFFFHHHHHHH
c34f306675
Merge branch 'master' into corrMatrix 2022-12-29 00:48:48 +08:00
fhbai
c559ffe5b9 add corrMatrix,covarSampMatrix,covarPopMatrix 2022-12-28 23:32:37 +08:00
Alexey Milovidov
14d7266e70
Merge branch 'master' into fix-30975 2022-12-27 23:21:10 +03:00