Commit Graph

7379 Commits

Author SHA1 Message Date
Robert Schulze
dfb831f861
Try to fix an msan issue 2024-07-13 22:07:46 +00:00
Robert Schulze
b1fd7868e5
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-13 15:12:32 +00:00
Kruglov Pavel
3c4e5df3a9
Merge branch 'master' into refactor-json-extract 2024-07-10 14:20:25 +02:00
avogar
a32795d116 Fix review comments 2024-07-10 10:07:02 +00:00
Nikita Mikhaylov
8bb48fa902 Correct comment for std::countr_zero 2024-07-09 20:24:16 +00:00
Nikita Mikhaylov
7ff447de68 Modify the code for build with new libcxx
(cherry picked from commit c896f0bf677bcc948d988cf83b2108e9f7cd761d)
2024-07-09 20:16:43 +00:00
Anton Popov
597a72fd9a
Merge pull request #65840 from gabrielmcg44/fix-tie-handling-issue
[arrayAUC] Fix tie handling issue
2024-07-09 13:32:14 +00:00
Vitaly Baranov
34516c1b3a
Merge pull request #54881 from amosbird/named-tuple
Extend function tuple to return named tuple and add function tupleNames
2024-07-09 11:10:21 +00:00
Robert Schulze
2fc4247d62
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-09 10:25:48 +00:00
Robert Schulze
429eed31f1
Merge pull request #66185 from rschu1ze/faster_regexp
Speed up `replaceRegexp(All|One)` if the pattern is trivial
2024-07-08 21:15:01 +00:00
Robert Schulze
db1817a633
Some minor fixups 2024-07-08 20:04:45 +00:00
Robert Schulze
a6c1477ece
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 17:50:30 +00:00
Anton Popov
b5a3beffbb
Merge pull request #66088 from CurtizJ/fix-has-map-subcolumn
Fix function `has` with `LowCardinality` and `FixedString`
2024-07-08 07:46:37 +00:00
Amos Bird
7e20f26735
Extend tuple() and add tupleNames() 2024-07-08 01:29:58 +08:00
Robert Schulze
948565f554
Speed up replaceRegexp(All|One) if the pattern is trivial 2024-07-07 11:09:01 +00:00
Robert Schulze
82e1d82cb3
Cosmetics 2024-07-07 10:14:20 +00:00
Anton Popov
5697efa191 fix for const arrays 2024-07-05 17:09:17 +00:00
Nikita Taranov
76119a4567
Merge pull request #66106 from ClickHouse/fix_unbin
Fix buffer overflow in `unbin`
2024-07-05 15:59:16 +00:00
avogar
a75c260ef5 Merge branch 'master' of gitt pushhub.com:ClickHouse/ClickHouse into refactor-json-extract 2024-07-05 11:24:29 +00:00
avogar
f556f2cd95 Try to fix special build 2024-07-04 18:28:22 +00:00
Nikita Taranov
ad23d211b9 impl 2024-07-04 18:56:26 +01:00
Anton Popov
e7c0ff54c9 fix tests 2024-07-04 17:19:35 +00:00
Anton Popov
86a2fbf3f1 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-04 16:18:30 +00:00
Pablo Marcos
13f4d0d7cf Merge branch 'master' into bitshift-throw-error-for-negative-shift-positions 2024-07-04 14:54:18 +00:00
Pablo Marcos
e7e2b0953c Prevent another possible buffer overflow 2024-07-04 14:50:51 +00:00
Anton Popov
f8ea14da5d fix function 'has' with LowCardinality and FixedString 2024-07-04 14:50:00 +00:00
Robert Schulze
9b98abac42
Merge pull request #66050 from ClickHouse/regex-cache-profile-events
Add profile events for regex cache
2024-07-04 08:48:26 +00:00
Anton Popov
e56507a73e
Merge pull request #58661 from CurtizJ/enable-optimize_functions_to_subcolumns
Enable `optimize_functions_to_subcolumns` by default
2024-07-03 20:44:19 +00:00
Robert Schulze
9f1b3e2979
Merge pull request #65983 from arenadata/ADQM-1971
Fix support of non-const scale arguments in rounding functions
2024-07-03 20:22:49 +00:00
Robert Schulze
77aec8a301
Merge pull request #65985 from rschu1ze/fix-error-messages
More aesthetic error messages
2024-07-03 17:22:57 +00:00
Robert Schulze
790b66d921
Merge pull request #66059 from rschu1ze/remove-comment
Remove obsolete comment
2024-07-03 15:42:20 +00:00
Robert Schulze
ee3c530817
Remove obsolete comment 2024-07-03 15:41:24 +00:00
Robert Schulze
8319d25797
Minor updates 2024-07-03 14:43:47 +00:00
Antonio Andelic
1c14a458e7 Add profile events for regex cache 2024-07-03 16:14:19 +02:00
avogar
5fe594243a Remove old file 2024-07-03 13:53:30 +00:00
avogar
ea3b0e735d Refactor JSONExtract functions and support more types and reuse its code in new JSON type 2024-07-03 13:40:41 +00:00
gabrielmcg44
97b5c78b8b clearer comment 2024-07-03 10:25:37 -03:00
Mikhail Gorshkov
97e2c8c7d2 PR review follow-up 2024-07-03 12:56:20 +00:00
Robert Schulze
6079373ce3
Incorporate review feedback 2024-07-03 08:36:16 +00:00
Anton Popov
e99dac2f65
Merge branch 'master' into enable-optimize_functions_to_subcolumns 2024-07-03 00:55:16 +02:00
Robert Schulze
0afccecd6b
Fix build 2024-07-02 19:35:58 +00:00
Robert Schulze
659020dc86
More aesthetic error messages 2024-07-02 17:43:29 +00:00
Robert Schulze
1821638d5e
Replace validateArgumentType() by validateFunctionArguments() 2024-07-02 17:43:29 +00:00
Robert Schulze
0ed3466124
Cleanup FunctionArgumentDescriptor
const char * can be nullptr, std::string_view can't.
2024-07-02 16:30:48 +00:00
Pablo Marcos
389a86ec05 Sort error codes alphabetically 2024-07-02 16:20:42 +00:00
Pablo Marcos
7a7633a230 Simplify logic in corner case to avoid comparing doubles
The case for > bit_limit is already covered in previous branch,
so we just need to cover the other case.

This also fixes an overflow that was caused in previous check. e.g.
b > B(word_size * n) if sizeof(B) is 1 byte but n is huge
2024-07-02 16:10:46 +00:00
Pablo Marcos
d567a0e247 Merge branch 'master' into bitshift-throw-error-for-negative-shift-positions 2024-07-02 14:48:35 +00:00
gabrielmcg44
b9b030d0aa better comment 2024-07-02 11:37:38 -03:00
gabrielmcg44
df086999ff remove redundant type cast 2024-07-02 11:37:38 -03:00
gabrielmcg44
dd1eccd32f fix brackets 2024-07-02 11:37:38 -03:00