Commit Graph

4703 Commits

Author SHA1 Message Date
Robert Schulze
f53d38cf85
Merge branch 'master' into rs/like-with-trailing-percentage 2023-02-26 14:43:27 +01:00
Robert Schulze
a402b61ceb
Merge pull request #46819 from ClickHouse/rs/fix-slowhyperscanchecker
Fix SlowWithHyperscanChecker
2023-02-25 21:41:38 +01:00
Alexey Milovidov
c0de7be37c
Merge pull request #46845 from ClickHouse/a-new-trap
Add a trap
2023-02-25 22:53:08 +03:00
Robert Schulze
cf062f0c5b
Small optimization of LIKE patterns with > 1 trailing %
Previously, LIKE pattern '%%%ab' became '.*.*ab'. Now, it becomes 'ab'
which is a bit faster (perhaps).

+ minor code cleanup + a minor doc update
2023-02-25 18:50:32 +00:00
Alexander Gololobov
7606d2406b Check that argument sizes and result size match 2023-02-25 14:47:45 +01:00
Alexey Milovidov
21ba6b70e6 Fix MSan report in Map data type 2023-02-25 08:47:48 +01:00
Alexey Milovidov
c659d84b47 Fix MSan report in Map data type 2023-02-25 08:46:21 +01:00
Alexey Milovidov
ae230e3a82
Update trap.cpp 2023-02-25 02:24:29 +03:00
Alexey Milovidov
d6b618565e Add a trap 2023-02-24 22:35:51 +01:00
Robert Schulze
d2c49265bb
Cosmetics 2023-02-24 11:29:45 +00:00
Robert Schulze
52a088f82d
Fix new start position 2023-02-24 11:29:16 +00:00
Robert Schulze
9914d4c591
Cosmetics 2023-02-23 14:35:45 +00:00
Robert Schulze
7d34822c7c
Merge branch 'master' into hlee-s390x-xxhash 2023-02-23 11:29:26 +01:00
HarryLeeIBM
776d4d9bb4 More refactoring 2023-02-22 15:19:25 -08:00
HarryLeeIBM
e979a86604 Minor change for adding constexpr 2023-02-22 12:50:46 -08:00
HarryLeeIBM
18b93fc212 More refactoring for better style 2023-02-22 12:41:00 -08:00
HarryLeeIBM
ef33d11e3f Refactor code according to code review 2023-02-21 18:40:11 -08:00
Kruglov Pavel
36870f0801
Merge pull request #46569 from ClickHouse/add-bug
Fix processing Const(LowCardinality) in arrayMap
2023-02-21 13:11:06 +01:00
Kruglov Pavel
2924e8e802
Merge pull request #46631 from bigo-sg/json_array_length
Add new function JSONArrayLength
2023-02-21 12:50:27 +01:00
taiyang-li
fcd3e44297 finish dev 2023-02-21 10:55:13 +08:00
Alexey Milovidov
5ef159fa10
Merge pull request #46565 from ClickHouse/remove-pvs-studio
Remove PVS-Studio
2023-02-20 17:10:53 +03:00
avogar
1539f812b3 Fix processing Const(LowCardinality) in arrayMap 2023-02-20 13:48:52 +00:00
Yakov Olkhovskiy
d9bc4bcccb
Merge pull request #46296 from jh0x/feature-array-partial-sort
Add arrayPartialSort and arrayPartialReverseSort
2023-02-20 02:49:38 -05: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
1adfbac19f
Merge pull request #37894 from yaqi-zhao/lower_upper
add avx512 support for Lower/Upper function
2023-02-19 17:18:10 +03:00
Yakov Olkhovskiy
2b9ce319b8
remove unnecessary include 2023-02-19 08:37:51 -05:00
Maksim Kita
6dffe52e68
Merge pull request #46471 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer planner fixes before enable by default
2023-02-19 13:49:18 +03:00
Alexander Gololobov
1b8cae8ee5
Merge pull request #46529 from ClickHouse/regexp_extract
Merge #46469
2023-02-19 10:28:35 +01:00
Alexey Milovidov
417158f59f
Merge branch 'master' into lower_upper 2023-02-19 04:05:10 +03:00
Alexey Milovidov
a22f0eee2a
Merge branch 'master' into Aggregate_Sum_AVX512 2023-02-19 04:03:45 +03:00
Alexander Gololobov
1480fce688 Removed extra identation 2023-02-18 21:41:30 +01:00
Alexander Gololobov
91b15caa8b Simplify arguments validation 2023-02-18 21:41:18 +01:00
Joanna Hulboj
cae064822c FIXUP: FunctionArrayMapped - Simpler arg passing for check/exec 2023-02-18 17:20:57 +00:00
Joanna Hulboj
c2f5331a2d Revert "FIXUP: Into FunctionArrayMapped: Simplify the dispatch in case of positional params"
This reverts commit d48bdcc754.
2023-02-18 12:54:52 +00:00
Alexander Gololobov
3d9b3c1b76 Fix for read buffer overrun 2023-02-17 19:38:43 +01:00
Maksim Kita
6c1436f78e Fixed tests 2023-02-17 16:50:46 +01:00
Alexander Gololobov
bcb196a11f Extracted common logic into saveMatch() 2023-02-17 14:42:37 +01:00
Joanna Hulboj
3771d97936 FIXUP: Unused error code 2023-02-17 07:40:54 +00:00
Joanna Hulboj
d48bdcc754 FIXUP: Into FunctionArrayMapped: Simplify the dispatch in case of positional params 2023-02-16 20:17:49 +00:00
Joanna Hulboj
8747e23dbb FIXUP: PR comments 2023-02-16 20:17:49 +00:00
HarryLeeIBM
3a635e428a Fix xxhash endian issue for s390x 2023-02-16 11:03:41 -08:00
Alexander Gololobov
e0cc1b9ae4 Fix assertion when index argument is not passed 2023-02-16 19:29:26 +01:00
Alexander Gololobov
7b4219e23a Added documentation field 2023-02-16 19:26:10 +01:00
Joanna Hulboj
5e32e20abb FIXUP: arrayPartialSort arg check and few tests 2023-02-16 17:59:12 +00:00
Joanna Hulboj
221e4942b2 FIXUP: check in FunctionArrayMapped refactor 2023-02-16 17:59:12 +00:00
Joanna Hulboj
4ee665b158 FIXUP: Missing ErrorCodes 2023-02-16 17:59:12 +00:00
Joanna Hulboj
7bb7ea6913 Added arrayPartialSort and arraySort functions 2023-02-16 17:59:12 +00:00
Joanna Hulboj
23d173a53c Refactor FunctionArrayMapped to allow for a fixed number of extra positional arguments 2023-02-16 17:59:12 +00:00
Robert Schulze
0ff404da9c
Merge pull request #46302 from JakeBamrah/master
Expand date formatters and add `DATE_FORMAT` function for better MySQL compatibility
2023-02-16 17:54:12 +01:00