Robert Schulze
02e0b682ab
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 21:29:41 +00:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
...
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
Antonio Andelic
8c55162e92
Fix string search with const position
2024-03-18 21:41:06 +01:00
Raúl Marín
4c27287c6d
Fix crash in arrayPartialReverseSort
2024-03-18 17:30:29 +01:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords
[Part 1] ( #51808 )
2024-03-18 16:58:57 +01:00
Raúl Marín
a8ea0cbaa6
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:12:10 +01:00
Raúl Marín
4626a0b3a1
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:10:32 +01:00
Antonio Andelic
47e3eccc59
Fix repeat with non native integers
2024-03-18 13:41:25 +01:00
Alexey Milovidov
97aca12830
Fix crash in window view
2024-03-18 12:58:03 +01:00
Alexey Milovidov
8434f04975
Fix style
2024-03-18 12:40:49 +01:00
Robert Schulze
0dff126942
Merge remote-tracking branch 'rschu1ze/master' into enable-clang-tidy-in-headers
2024-03-18 11:34:13 +00:00
Alexey Milovidov
9065f34534
Fix infinite loop in function hop
2024-03-18 12:27:15 +01:00
robot-ch-test-poll4
e8a08baf23
Merge pull request #61092 from rschu1ze/locate-mysql
...
Make the argument order for `locate` compatible with MySQL
2024-03-18 11:55:05 +01:00
Robert Schulze
f02db275c5
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 09:26:29 +00:00
János Benjamin Antal
4b4a03c0f1
Merge branch 'master' into less-header-1
2024-03-18 10:25:42 +01:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers
2024-03-18 08:00:09 +00:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
65d091cc65
Limit backtracking in parser
2024-03-17 20:16:23 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Alexey Milovidov
eec0bf2f52
Fix style
2024-03-17 13:34:34 +01:00
Alexey Milovidov
7c35f1d07e
Less crap
2024-03-17 13:23:09 +01:00
Alexey Milovidov
427a8b3264
Less crap
2024-03-17 13:20:49 +01:00
Alexey Milovidov
2af6d35752
Less crap
2024-03-17 12:53:59 +01:00
Alexey Milovidov
921ec12192
Maybe not worse
2024-03-17 12:29:45 +01:00
Alexey Milovidov
96f53df7ad
Fix error
2024-03-17 12:02:02 +01:00
Alexey Milovidov
fac040e08e
Add documentation
2024-03-17 00:34:32 +01:00
Alexey Milovidov
d627fbef55
Fix errors
2024-03-17 00:26:07 +01:00
Alexey Milovidov
f1be9e6707
Trash
2024-03-17 00:17:59 +01:00
Alexey Milovidov
e5f15b6ac4
Fix errors
2024-03-16 23:00:57 +01:00
Alexey Milovidov
81f0e9ece6
Merge branch 'definitive-cast' into split-cast-overload-resolver
2024-03-16 20:03:44 +01:00
Alexey Milovidov
3a8974e7e1
A definitive guide to CAST
2024-03-16 16:23:12 +01:00
Alexey Milovidov
a5bd242059
Even more garbage
2024-03-15 12:36:33 +01:00
Alexey Milovidov
4290b1fe2c
Garbage
2024-03-15 11:32:21 +01:00
Robert Schulze
1281acc295
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-15 10:14:46 +00:00
Alexey Milovidov
4eda78440d
Remove C++ templates
2024-03-15 10:34:32 +01:00
Alexey Milovidov
c9fb8ef54b
Merge branch 'master' into split-cast-overload-resolver
2024-03-15 07:09:51 +01:00
Austin Kothig
5020741b25
Add support for nanosecond level precision.
2024-03-14 14:34:45 -07:00
Alexey Milovidov
9067c1ab92
Merge with master
2024-03-14 14:14:24 +01:00
Alexey Milovidov
37913d94a3
Merge with master
2024-03-14 13:39:50 +01:00
Alexey Milovidov
1a41aa4ac7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver
2024-03-14 13:06:23 +01:00
Robert Schulze
4233fa4d80
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-14 11:35:58 +00:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list
2024-03-14 10:44:20 +00:00
Kruglov Pavel
4b3f33c5fd
Merge pull request #60451 from Avogar/fix-map-array-func-lc
...
Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike
2024-03-13 19:02:24 +01:00
Kruglov Pavel
d89e26cff5
Merge pull request #61196 from ClickHouse/Avogar-patch-1
...
Fix lazy execution of default argument in dictGetOrDefault for RangeHashedDictionary
2024-03-13 17:23:22 +01:00
Robert Schulze
7a5ac383e5
Merge pull request #61308 from rschu1ze/docs-sleep
...
Docs: Follow up to #61258
2024-03-13 15:42:47 +01:00
Robert Schulze
d8c5008280
Follow up to #61258
2024-03-13 13:07:14 +00:00
János Benjamin Antal
cccf054420
Merge pull request #60881 from ClickHouse/add-docs-to-simplejson-and-sin
...
Add docs to simplejson and sin
2024-03-13 14:00:51 +01:00
Raúl Marín
cc92b8ffc5
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-13 13:57:41 +01:00
Robert Schulze
173fa7934c
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-13 12:31:56 +00:00
Yarik Briukhovetskyi
24d6dcb96b
Merge pull request #61249 from mkmkme/mkmkme/fix-has-function
...
Fix `has()` function with `Nullable` column
2024-03-13 13:16:40 +01:00
Alexey Milovidov
514f8392f9
Fix error
2024-03-13 10:25:37 +01:00
Alexey Milovidov
3afdc94cfd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver
2024-03-13 10:07:05 +01:00
Alexey Milovidov
486e8537a8
Fix error
2024-03-13 08:02:27 +01:00
Alexey Milovidov
f8dfd8c03a
Less garbage
2024-03-13 07:15:07 +01:00
Alexey Milovidov
87db039d89
Continue
2024-03-13 07:06:06 +01:00
Alexey Milovidov
f339c88079
Continue
2024-03-13 06:32:31 +01:00
Alexey Milovidov
ecd6b88831
Continue
2024-03-13 06:15:17 +01:00
Alexey Milovidov
17a7696a37
Continue
2024-03-13 06:06:07 +01:00
Alexey Milovidov
8d9a8fdfc1
Continue
2024-03-13 05:52:01 +01:00
Alexey Milovidov
b870d9d1cd
Continue
2024-03-13 05:45:33 +01:00
Alexey Milovidov
5336a89117
Continue
2024-03-13 05:36:09 +01:00
Alexey Milovidov
a5383a4619
Continue
2024-03-13 05:27:05 +01:00
Alexey Milovidov
dbfda04701
Continue
2024-03-13 05:18:51 +01:00
Alexey Milovidov
ebd934e286
Continue
2024-03-13 05:05:23 +01:00
Mikhail Koviazin
94f15dd5e0
Fix has()
function with Nullable
column
...
Previous implementation didn't check for `null_map` when the given
argument was not `Null`. This commit adds the missing check.
Fixes #60214
2024-03-12 16:48:43 +02:00
avogar
0b588480f5
Fix lazy execution in dictGetOrDefault for RangeHashedDictionary
2024-03-12 14:34:15 +00:00
Alexey Milovidov
c27c1e1035
Fix build
2024-03-12 14:36:07 +01:00
Raúl Marín
c011901d01
Fix coverage
2024-03-12 14:28:28 +01:00
Kruglov Pavel
9b055c3a43
Use assert_cast to prevent nullptr dereference on bad column types in FunctionsConversion
2024-03-11 20:38:30 +01:00
Robert Schulze
802bae9661
GCC --> clang pragmas
2024-03-11 12:55:56 +00:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-11 12:23:15 +00:00
Robert Schulze
e5e84419af
Fix clang-tidy-s
2024-03-11 10:58:54 +00:00
Alexey Milovidov
1c82f8707d
Fix tidy
2024-03-11 08:38:03 +01:00
Alexey Milovidov
4373d5ba16
Merge branch 'master' into split-cast-overload-resolver
2024-03-11 03:01:50 +01:00
Robert Schulze
349894fc2b
Fixes #61051
2024-03-10 13:13:59 +00:00
Robert Schulze
bcd705517a
Remove unnecessary call to convertToFullColumnIfConst()
2024-03-10 13:09:01 +00:00
Robert Schulze
530efbe810
Beautify exception, pt. II
2024-03-10 13:09:01 +00:00
Sema Checherinda
5c41727725
http connections pools
2024-03-10 10:00:18 +01:00
Alexey Milovidov
d2e29525c8
Maybe better
2024-03-10 04:08:34 +01:00
Alexey Milovidov
3c9e6cfc96
Maybe better
2024-03-10 03:52:14 +01:00
Alexey Milovidov
7c8a97a91a
Maybe better
2024-03-10 03:13:15 +01:00
Alexey Milovidov
6c0f877342
I did not understand this code and removed it
2024-03-10 03:02:38 +01:00
Alexey Milovidov
bbeecf4ed5
Fix error
2024-03-10 02:51:32 +01:00
Alexey Milovidov
e30a1c9cbc
Remove garbage
2024-03-10 02:26:18 +01:00
Alexey Milovidov
3ac4f56cfa
Fix tests
2024-03-09 18:53:31 +01:00
Alexey Milovidov
d2e19a5da3
Remove unused header
2024-03-09 08:55:53 +01:00
Alexey Milovidov
3cd70f48b0
Anonymous
2024-03-09 08:49:55 +01:00
Alexey Milovidov
f2c4a5bb94
Prevent garbage from appearing
2024-03-09 08:30:13 +01:00
Alexey Milovidov
804c07156d
Fix garbage
2024-03-09 08:24:53 +01:00
Alexey Milovidov
061cee257c
Remove crap
2024-03-09 08:10:59 +01:00
Alexey Milovidov
feed74e598
Better
2024-03-09 07:59:09 +01:00
Alexey Milovidov
574d486322
Something
2024-03-09 07:55:59 +01:00
Alexey Milovidov
83a5611355
Remove garbage
2024-03-09 07:04:05 +01:00
Alexey Milovidov
dc7f4b39ee
Remove garbage
2024-03-09 07:00:28 +01:00
Alexey Milovidov
0d05b8ccc1
Fix style
2024-03-09 06:37:50 +01:00
Alexey Milovidov
7983e2b620
Remove garbage
2024-03-09 06:14:32 +01:00
Alexey Milovidov
6d45eecdad
Remove garbage
2024-03-09 06:11:34 +01:00
Alexey Milovidov
c67e8d5d73
Add files
2024-03-09 05:50:19 +01:00
Alexey Milovidov
2be09581dd
Split CastOverloadResolver translation unit
2024-03-09 05:48:52 +01:00
Alexey Milovidov
009c2ea9f6
Move a class into an anonymous namespace
2024-03-09 05:27:29 +01:00
Yarik Briukhovetskyi
23b55ecbe8
beautify exception
2024-03-08 22:02:22 +01:00
Amos Bird
d6e0dd45b9
Fix build
2024-03-08 22:57:49 +08:00
Robert Schulze
45a1f0f8ed
More consistency and extended tests
2024-03-08 14:02:34 +00:00
Raúl Marín
4b964979c2
Digits doesn't belong with itoa anymore
2024-03-08 14:22:38 +01:00
Yarik Briukhovetskyi
e7cc49212a
fix tidy build
2024-03-08 12:28:14 +01:00
Robert Schulze
1366a3ebe2
Merge pull request #60649 from rschu1ze/revert-revert-54746_to_millisecond_function
...
Revert "Revert "Add `toMillisecond` function""
2024-03-08 10:55:04 +01:00
Nikolai Kochetov
73cc3e1c92
Merge branch 'master' into constant-folding-scalar-subqueries
2024-03-07 17:49:31 +00:00
Nikita Mikhaylov
82ba97c3a7
More explicit template instantiations ( #60730 )
2024-03-07 17:16:13 +01:00
Raúl Marín
cd9d9018e0
Be able to iterate
2024-03-07 17:15:42 +01:00
Nikolai Kochetov
2b8cf8b6e9
Merge branch 'master' into constant-folding-scalar-subqueries
2024-03-07 16:06:55 +00:00
Kruglov Pavel
1b7d0f19a9
Merge pull request #60384 from bigo-sg/opt_multiif_decimal
...
Execute multiIf function columnarly when result_type's underlying type is number
2024-03-07 12:54:53 +01:00
Yarik Briukhovetskyi
66dea51112
fix clang-tidy
2024-03-07 12:40:48 +01:00
Robert Schulze
245ea0c186
Implement const/non-const shortcut
2024-03-06 16:56:01 +00:00
János Benjamin Antal
77a980373a
Fix typo in inline doc
2024-03-06 16:31:27 +00:00
Robert Schulze
a69bcc29f5
Refactor a sanity check
2024-03-06 15:02:01 +00:00
Robert Schulze
c3909743ed
Remove repeated unnecessary unpacking of const columns
2024-03-06 13:54:14 +00:00
Yarik Briukhovetskyi
2eb7fa297b
Merge pull request #60763 from zvonand/zvonand-fix-toStartOf
...
Fix toStartOfInterval
2024-03-06 13:55:21 +01:00
Robert Schulze
2dc1721262
Refactorings for consistency
2024-03-06 12:24:05 +00:00
János Benjamin Antal
6f726865ba
Add inline docs to functions
2024-03-06 11:10:02 +00:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function
2024-03-06 09:04:57 +00:00
李扬
e4b78e7dac
fix bugs
2024-03-06 15:10:45 +08:00
Yarik Briukhovetskyi
d93dd98b66
Merge pull request #60672 from yariks5s/fix_int_div_decimal_with_datetime
...
Fix `intDiv` for decimal and date arguments
2024-03-05 13:41:08 +01:00
Nikolai Kochetov
d4570aa3b2
Merge branch 'master' into constant-folding-scalar-subqueries
2024-03-05 12:14:54 +00:00
Robert Schulze
7dfe8afa76
Add in-source docs
2024-03-05 11:11:18 +00:00
taiyang-li
8b2e163d76
Merge remote-tracking branch 'origin/master' into opt_multiif_decimal
2024-03-05 17:17:10 +08:00
taiyang-li
4251cc3a11
fix building
2024-03-05 17:05:40 +08:00
Raúl Marín
6ac4f60caa
Merge pull request #60764 from Algunenano/i59655
...
Fix crash in arrayEnumerateRanked
2024-03-04 20:22:30 +01:00
Kruglov Pavel
4bdafed801
Merge pull request #60420 from HowePa/format_case_insensitive
...
Make all format names case insensitive.
2024-03-04 19:09:10 +01:00
Alexey Milovidov
bc0cf83668
Merge pull request #60738 from ClickHouse/sql-json-remove-nonsense
...
Remove nonsense from SQL/JSON
2024-03-04 18:57:50 +03:00
Yarik Briukhovetskyi
e361e5e296
Merge branch 'ClickHouse:master' into fix_int_div_decimal_with_datetime
2024-03-04 14:51:20 +01:00
Raúl Marín
f212c9c230
Fix crash in arrayEnumerateRanked
2024-03-04 13:14:13 +01:00
Yarik Briukhovetskyi
033b9624b4
Merge branch 'ClickHouse:master' into fix_int_div_decimal_with_datetime
2024-03-04 12:56:17 +01:00
zvonand
41ff818a20
fix toStartOfInterval
2024-03-04 12:53:41 +01:00
Alexey Milovidov
43e0a1b708
Remove nonsense from SQL/JSON
2024-03-04 05:59:02 +01:00
Alexey Milovidov
cbf5443585
Remove old code
2024-03-04 00:11:55 +01:00
Alexey Milovidov
0208828d3f
Merge pull request #60535 from ClickHouse/changelog-24.2
...
General sanity in function `seriesOutliersDetectTukey`
2024-03-03 19:09:04 +03:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2
2024-03-03 03:27:28 +03:00
Alexey Milovidov
3883cdbf00
Merge branch 'master' into fix-bad-error-message
2024-03-02 03:18:50 +01:00
Yarik Briukhovetskyi
57482de0f0
Update FunctionBinaryArithmetic.h
2024-03-02 01:16:47 +01:00
Nikita Taranov
bcd3ad01de
Merge pull request #55809 from amosbird/alt-51399
...
Improve the performance of serialized aggregation method when involving multiple [nullable] columns
2024-03-01 22:44:56 +01:00
yariks5s
0b10612c86
fix
2024-03-01 17:42:57 +00:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond
function""
...
This reverts commit 5225fc6a14
.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond
function"
2024-03-01 13:59:03 +01:00
Nikolai Kochetov
9211495fed
Merge branch 'master' into constant-folding-scalar-subqueries
2024-03-01 12:06:26 +00:00
Robert Schulze
6d89455525
Merge pull request #60523 from rschu1ze/clang-tidy-src
...
Fix a bunch of clang-tidy warnings in headers
2024-03-01 12:37:48 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
...
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Robert Schulze
52b1fc6db9
Minor fixes
2024-03-01 10:06:54 +00:00
李扬
0820fd49e9
Merge branch 'ClickHouse:master' into opt_multiif_decimal
2024-03-01 10:32:17 +08:00
Blargian
6594219943
Fix style-check
2024-02-29 20:52:30 +01:00
Blargian
f1c9b1abcd
Fix millisecond calculation
2024-02-29 18:05:49 +01:00
Robert Schulze
4ee1aa8c7c
Fixing more headers
2024-02-29 15:40:30 +00:00
Amos Bird
3b04f5c605
Improve the performance of serialized aggregation method when involving multiple [nullable] columns.
2024-02-29 21:48:15 +08:00
Robert Schulze
278ad6f491
Fixing tukey even more
2024-02-29 12:51:23 +00:00
Robert Schulze
e760c082bf
More fixups for tukey
2024-02-29 12:23:17 +00:00
Robert Schulze
cfed36e8a9
Merge remote-tracking branch 'rschu1ze/master' into byteSlice
2024-02-29 11:29:15 +00:00
taiyang-li
46f9fddc4d
fix code style
2024-02-29 15:11:02 +08:00
taiyang-li
656412c93e
fix failed uts
2024-02-29 15:03:59 +08:00
taiyang-li
f7d1739808
fix failed uts
2024-02-29 15:00:09 +08:00
Alexey Milovidov
414e6eb600
General sanity in function seriesOutliersDetectTukey
2024-02-29 06:30:28 +01:00
taiyang-li
f89cb57d02
fix failed ut
2024-02-29 12:32:27 +08:00
Alexey Milovidov
3749618ba1
Add a test
2024-02-28 23:28:46 +01:00
Alexey Milovidov
98be049e66
Fix bad error message
2024-02-28 23:08:29 +01:00
Robert Schulze
42f29c01cf
Merge remote-tracking branch 'rschu1ze/master' into byteSlice
2024-02-28 19:10:48 +00:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements
2024-02-28 17:38:54 +01:00
Alexey Milovidov
b0ab0b37db
Merge pull request #60434 from ClickHouse/revert-60216-revert-59697-check-stack-size-in-parser
...
Revert "Revert "Check stack size in Parser""
2024-02-28 19:20:49 +03:00
taiyang-li
4beb6fdcb0
fix code stule
2024-02-28 22:39:49 +08:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring
2024-02-28 13:32:56 +00:00
Ilya Yatsishin
6473023ad5
Merge pull request #60359 from Avogar/fix-ipv6-hashing
...
Fix use-of-uninitialized-value and invalid result in hashing functions with IPv6
2024-02-28 15:32:57 +04:00
Robert Schulze
613e426484
Some fixups
2024-02-28 11:14:53 +00:00
taiyang-li
4f2ab335af
fix some bugs
2024-02-28 17:07:49 +08:00
taiyang-li
28c4c8e821
Merge branch 'master' into opt_multiif_decimal
2024-02-28 16:00:43 +08:00
Alexey Milovidov
9ea7ff231b
Merge pull request #60448 from ClickHouse/clang-19
...
Update to clang-19
2024-02-27 23:38:08 +03:00
Blargian
8b8dcf01b6
Add toMillisecond
2024-02-27 19:32:38 +01:00
Nikolai Kochetov
dd458932c9
Try to avoid calculation of scalar subqueries for CREATE TABLE.
2024-02-27 17:46:13 +00:00
Alexey Milovidov
0f3c9963d1
Merge branch 'master' of github.com:ClickHouse/ClickHouse into revert-60216-revert-59697-check-stack-size-in-parser
2024-02-27 17:30:32 +01:00
Raúl Marín
2a44eeff90
Merge pull request #60211 from jlmadurga/ulid_short_circuit
...
Ulid short circuit
2024-02-27 16:04:15 +01:00
avogar
416638461f
Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike
2024-02-27 15:02:13 +00:00
Alexey Milovidov
c192a448d0
Update to clang-19
2024-02-27 14:37:21 +01:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser""
2024-02-27 01:34:50 +03:00
HowePa
0b72f7b182
Make all format names case insensitive.
2024-02-26 22:46:51 +08:00
Nikolai Kochetov
ef8dab52c6
Merge pull request #57767 from jsc0218/DictShortCircuit
...
Dict Short Circuit
2024-02-26 15:16:15 +01:00
Juan Madurga
556b9897d0
update FunctionULIDStringToDateTime for short circuit
2024-02-26 15:01:17 +01:00
taiyang-li
ff4231186f
merge master and fix conflicts
2024-02-26 10:19:14 +08:00
taiyang-li
584ede2fad
opt for multiIf with decimal
2024-02-25 23:54:11 +08:00
avogar
39ad054e94
Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements
2024-02-23 18:59:34 +00:00
avogar
0b012a56ba
Fix use-of-uninitialized-value in hashing functions with IPv6
2024-02-23 14:49:55 +00:00
Blargian
7175eec931
add toMilliseconds implementation, update docs and reference file of test
2024-02-22 12:32:29 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product
2024-02-22 10:16:28 +00:00
Nikolai Kochetov
0e9d7f3540
Merge pull request #60037 from ClickHouse/fix-01656_test_query_log_factories_info-for-analyzer
...
Fix 01656_test_query_log_factories_info with analyzer.
2024-02-21 17:37:15 +01:00
avogar
bd2390996e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements
2024-02-21 13:16:07 +01:00
Robert Schulze
8f0f8bf294
Fix typo
2024-02-21 11:54:20 +00:00
Robert Schulze
9f37f17900
Further refactorings to make the code more similar to arrayDistance.cpp
2024-02-21 10:59:58 +00:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser"
2024-02-21 11:33:08 +01:00
Robert Schulze
daa61a8576
Manualy vectorize arrayDotProduct()
...
Measurements go down from
- 0.34 sec --> 0.30 sec (Float32)
- 0.68 sec --> 0.54 sec
2024-02-20 22:51:11 +00:00
Robert Schulze
e57b8f64e0
Help the compiler a bit with auto-vectorization
...
For query
SELECT sum(dp) FROM (SELECT dotProduct(v, v) AS dp FROM vectors)
with vectors of type
Array(Float32) and
Array(Float64)
and dimension = 150, runtimes go down from
0.46 sec to 0.34 sec (Float32) and
0.74 sec to 0.68 sec (Float64))
The latter (only a minor improvement) is independent of the number of
lanes (VEC_SIZE = 4 vs. 2 which is the theoretical optimal for Float64).
2024-02-20 22:24:18 +00:00
Robert Schulze
db974098d0
More refactoring and cleanup
2024-02-20 21:22:58 +00:00
avogar
122dc6769d
Fixes and improvements for Variant type
2024-02-20 18:58:06 +00:00
Raúl Marín
32130d7f78
Fix low cardinality too
2024-02-20 15:55:22 +01:00
Raúl Marín
5267e6b0ce
Fix arrayReduce with nullable aggregate function name
2024-02-20 13:38:33 +01:00
Robert Schulze
0fff496ad3
Refactoring and cleanup
2024-02-20 11:57:08 +00:00