Commit Graph

4715 Commits

Author SHA1 Message Date
Maksim Kita
6209d13ad5 Analyzer support _shardNum column to shardNum() function rewrite 2023-03-01 18:03:42 +01:00
Anton Popov
a7f70036c4
Merge pull request #47046 from CurtizJ/fix-json-type-bool
Support `Bool` type in `JSONType` function.
2023-03-01 16:18:45 +01:00
Anton Popov
2c41ddf609 support Bool in JSONType 2023-03-01 02:07:09 +00:00
Yakov Olkhovskiy
f4a8b099de allow IPv4 in range() 2023-02-27 21:36:21 +00:00
Robert Schulze
5c8edcc2e7
Merge pull request #46940 from ClickHouse/rs/sizes-of-arrays-dont-match
Typo: SIZES_OF_ARRAYS_DOESNT_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH
2023-02-27 14:33:09 +01:00
Robert Schulze
3880ac97af
Merge pull request #46875 from ClickHouse/rs/fix-incorrect-LIKE-to-substring-search-translation
Fix wrong results of some LIKE searches when the LIKE pattern contains quoted non-quotable characters
2023-02-27 12:34:07 +01:00
Vladimir C
6a4d0849f6
Merge pull request #46841 from azat/url-functions-fixes 2023-02-27 11:16:25 +01:00
Robert Schulze
22d09caea2
SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
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
15ece2ab16
Fix incorrect LIKE-to-substring translation
To be backported
2023-02-25 19:46:59 +00: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
Azat Khuzhin
78bc48236b Relax symbols that are allowed in userinfo in *domain*RFC()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:51:48 +01:00
Azat Khuzhin
066389e6ff Relax symbols that are allowed in userinfo in netloc()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:51:44 +01:00
Azat Khuzhin
83071164cc Fix off-by-one error in netloc()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:15:29 +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