Commit Graph

7345 Commits

Author SHA1 Message Date
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
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
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
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
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
gabrielmcg44
7d7750e29b remove brackets 2024-07-02 11:37:37 -03:00
gabrielmcg44
6a0d912b1c remove trailing spaces 2024-07-02 11:37:37 -03:00
gabrielmcg44
9821c042f1 fix tie handling issue 2024-07-02 11:37:37 -03:00
Robert Schulze
a9d05bc349
Merge remote-tracking branch 'ClickHouse/master' into bittest-throw-error-if-out-of-bounds 2024-07-02 11:47:15 +00:00
Mikhail Gorshkov
baa4d50067 Fix support of non-const scale arguments in power function 2024-07-02 10:51:58 +00:00
vdimir
59bf6f16bd
Merge pull request #64818 from bigo-sg/too_large_hash_join
Refactor `HashJoin` to avoid `too large translation units`
2024-07-02 09:12:02 +00:00
vdimir
b94dd515c7
Merge pull request #65887 from bigo-sg/improve_concat
Allow to use `concat` function with empty arguments
2024-07-02 09:11:30 +00:00
Pablo Marcos
93c1b5d8a7 Address issues pointed out in the PR 2024-07-02 08:21:51 +00:00
Pablo Marcos
12608d2090 Improve exception text 2024-07-01 14:22:32 +00:00
Pablo Marcos
d0506f0214 Fix more tests
One of tests actually uncovered a casting error :)
2024-07-01 12:23:56 +00:00
Pablo Marcos
0b24a416b5 Also throw error if bit shift positions is greater than the bit width of value 2024-07-01 10:31:29 +00:00
taiyang-li
4fcafde610 allow empty arguments for concat 2024-07-01 15:29:32 +08:00
Anton Popov
21633b259b Merge remote-tracking branch 'upstream/master' into HEAD 2024-06-28 23:08:29 +00:00