Shane Andrade
855e3f84d2
Merge branch 'master' into date-trunc-return-date-time
2023-04-25 07:55:12 -07:00
Alexey Milovidov
93d6dddb97
Merge pull request #49044 from ucasfl/bitcount
...
bitCount support FixedString data type
2023-04-25 00:34:12 +03:00
mauidude
4b084c15d0
update tests, address code review comments
2023-04-24 21:28:07 +00:00
Alexander Tokmakov
332a736a59
Merge branch 'master' into clusters_is_active_column
2023-04-24 15:54:03 +02:00
Anton Popov
e2e62b32e5
Merge pull request #48071 from CurtizJ/rework-map-functions
...
Rework functions that work with `Map` columns
2023-04-24 14:51:02 +02:00
Vladimir C
6090648fc8
Merge pull request #43606 from arthurpassos/parsey_key_value_function
2023-04-24 11:03:28 +02:00
flynn
18a47337e9
Merge branch 'master' into bitcount
2023-04-24 14:46:47 +08:00
FFFFFFFHHHHHHH
dfb5999553
Merge branch 'master' into dot_product
2023-04-24 11:29:05 +08:00
lgbo-ustc
ac87a1c23a
update
2023-04-24 10:47:20 +08:00
flynn
8ff9bc8e60
fix
2023-04-24 02:16:58 +00:00
Alexey Milovidov
ff5ec30b0b
Merge pull request #49005 from ClickHouse/fix-ibm
...
Reimplement #48986
2023-04-24 01:39:22 +03:00
flynn
fea16a749d
fix
2023-04-23 11:31:23 +00:00
flynn
eaee22e792
fix
2023-04-23 04:28:41 +00:00
Alexey Milovidov
28e03f5781
Merge branch 'master' into fix-ibm
2023-04-23 06:01:41 +02:00
Alexey Milovidov
97124f3bd1
Minor change
2023-04-23 06:01:39 +02:00
Alexey Milovidov
54d10f87f2
Consistency of the LineAsString format
2023-04-23 05:50:46 +02:00
FFFFFFFHHHHHHH
7b24a70566
Merge branch 'master' into dot_product
2023-04-23 10:55:51 +08:00
FFFFFFFHHHHHHH
4145abf547
fix style
2023-04-23 04:04:05 +08:00
FFFFFFFHHHHHHH
79ae949b56
fix style
2023-04-23 03:35:09 +08:00
FFFFFFFHHHHHHH
34d82625b5
feat: add dotProduct for array
2023-04-23 02:58:00 +08:00
flynn
1b1f19816b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into bitcount
2023-04-22 17:23:30 +00:00
flynn
f4fe64335d
support string
2023-04-22 17:21:43 +00:00
flynn
a6269bff57
fix build
2023-04-22 14:45:38 +00:00
flynn
9842b1a977
revert
2023-04-22 14:20:45 +00:00
Arthur Passos
434af1dc6d
fix ut
2023-04-22 11:19:14 -03:00
flynn
18672c2d4b
bitCount support FixedString data type
2023-04-22 14:17:31 +00:00
ltrk2
12cfc45b74
Fix build error for big-endian platforms
2023-04-21 13:52:19 -07:00
Arthur Passos
b7a5a86db2
fix comment
2023-04-21 14:28:10 -03:00
Arthur Passos
9c1d61ba0b
address comments and update docs
2023-04-21 11:31:59 -03:00
Anton Popov
1b1a47e977
Merge remote-tracking branch 'upstream/master' into HEAD
2023-04-21 12:34:25 +00:00
Anton Popov
b321479af4
fix style-check
2023-04-21 12:32:35 +00:00
Alexey Milovidov
bd64a4a6fc
Merge pull request #48904 from ClickHouse/fix_set_withzk_and_analyzer
...
Fix segfault when set is not built yet
2023-04-21 15:14:23 +03:00
Alexey Milovidov
252c755323
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-ibm
2023-04-21 12:39:13 +02:00
Alexey Milovidov
530b764953
Fix IBM
2023-04-21 12:38:45 +02:00
Andrey Zvonov
984e8fde41
Merge branch 'master' into zvonand-implicit-tz
2023-04-20 23:13:17 +02:00
Anton Popov
1f58dcabae
Merge branch 'master' into rework-map-functions
2023-04-20 18:44:40 +02:00
Anton Popov
7d0244d742
Update src/Functions/array/FunctionsMapMiscellaneous.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-04-20 18:18:47 +02:00
Anton Popov
9f59f3139e
move code to cpp files
2023-04-20 16:17:30 +00:00
Arthur Passos
43841a6ee6
Merge branch 'master' into parsey_key_value_function
2023-04-20 10:05:34 -03:00
Arthur Passos
a03de85bab
minor doc update
2023-04-20 10:01:34 -03:00
Vladimir C
e105a6e9bf
Merge pull request #48899 from ClickHouse/vdimir/bitnot_ubsan
2023-04-20 11:59:35 +02:00
Shane Andrade
6867101d8d
Update src/Functions/date_trunc.cpp
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-04-20 00:04:00 -07:00
Alexander Gololobov
e9739e5f8e
Merge branch 'master' into fix_set_withzk_and_analyzer
2023-04-19 13:31:12 +02:00
Robert Schulze
15db30618c
Various fixes and cleanups
2023-04-19 09:19:41 +00:00
lgbo-ustc
d8d7639ba7
fixed typos & style
2023-04-19 11:37:58 +08:00
lgbo-ustc
33bedc0291
improve jsonpath support in json functions
2023-04-19 11:37:58 +08:00
Alexander Gololobov
2a829d9838
Check getData() result in other places
2023-04-18 17:11:19 +02:00
vdimir
8199872558
bitNot marked as NO_SANITIZE_UNDEFINED
2023-04-18 13:38:41 +00:00
clundro
447d6cf153
[chore] add test for arrayCumSumNonNegative.
...
Signed-off-by: clundro <859287553@qq.com>
2023-04-18 01:36:38 +08:00
clundro
c02882fd79
[chore] add int128/256, uint128/256 for arrayDifference, arrayCumSum
...
1. add tests.
Signed-off-by: clundro <859287553@qq.com>
2023-04-18 01:05:08 +08:00
Shane Andrade
0521f58d6f
undo automatic indentation
2023-04-17 15:06:07 +00:00
Shane Andrade
f2f47fc24d
date_trunc function to always return DateTime type
2023-04-17 07:40:36 -07:00
Arthur Passos
c7d7df75f2
minor doc update
2023-04-17 11:20:03 -03:00
Arthur Passos
3380c91206
Add validation for number of arguments provided and update doc examples
2023-04-17 11:15:24 -03:00
Nikolay Degterinsky
1388154420
Merge pull request #48629 from bigo-sg/json_map_node
...
Support map type for JSONExtract
2023-04-15 01:02:09 +02:00
Dmitry Novik
352a240a20
Merge pull request #47984 from ClickHouse/optimize-compilation
...
Optimize compilation
2023-04-14 15:34:46 +02:00
zvonand
089306820f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz
2023-04-14 13:21:49 +02:00
Robert Schulze
43b8cbc50c
Merge pull request #48737 from ClickHouse/rs/fix-wshadow
...
Remove `-Wshadow` suppression which leaked into global namespace
2023-04-13 21:18:50 +02:00
Dmitry Novik
5cc9b46f78
Merge remote-tracking branch 'origin/master' into optimize-compilation
2023-04-13 16:04:09 +02:00
Arthur Passos
88f1c969cc
Merge branch 'master' into parsey_key_value_function
2023-04-13 10:38:44 -03:00
Arthur Passos
3523c0fb0e
fix escap sequences unit tests, values are not allowed to start with escape sequences anymore
2023-04-13 09:55:51 -03:00
Jordi Villar
eb32b710f0
Merge remote-tracking branch 'origin/master' into 16414-totimezone-throw
2023-04-13 14:03:45 +02:00
Jordi Villar
3e882e0c7d
Remove unnecessary logger
2023-04-13 14:03:05 +02:00
Robert Schulze
658d6c8870
Merge pull request #48567 from FriendLey/test_soundex
...
add soundex function, issue #39880
2023-04-13 11:20:19 +02:00
Robert Schulze
7a21d5888c
Remove -Wshadow suppression which leaked into global namespace
2023-04-13 08:46:40 +00:00
FriendLey
50af10771e
Merge branch 'master' into test_soundex
2023-04-13 10:17:08 +08:00
Robert Schulze
700492f6d4
Fixes and refactorings for consistency with the remaining codebase
2023-04-12 22:41:26 +00:00
Robert Schulze
3f7ce60e03
Merge branch 'master' into rs/gcc-removal
2023-04-12 22:17:04 +02:00
Arthur Passos
41b4f8549f
define ILLEGAL_TYPE_OF_ARGUMENT in ArgumentExtractor
2023-04-12 17:15:58 -03:00
Arthur Passos
ee6ad4a461
reject values starting with escape sequences if escaping support is turned on
2023-04-12 15:37:58 -03:00
Arthur Passos
a97fa9a449
add input arguments type validation
2023-04-12 15:36:30 -03:00
Alexander Tokmakov
69790b76b2
fix the same issue in other functions
2023-04-12 20:36:23 +02:00
Alexander Tokmakov
71258202bb
Merge branch 'master' into 16414-totimezone-throw
2023-04-12 17:58:48 +02:00
zvonand
3f8956f854
remove additional logging
2023-04-12 17:45:11 +02:00
Nikolay Degterinsky
ff20acf076
Merge pull request #48445 from evillique/array-functions-date-datetime-support
...
Add support for Date/DateTime datatypes to arrayMin/Max, arrayDifference functions
2023-04-12 13:27:17 +02:00
FriendLey
63928c6df0
Merge branch 'master' into test_soundex
2023-04-12 19:06:05 +08:00
zvonand
2a9f28b73b
resolve
2023-04-12 12:54:39 +02:00
zvonand
a9499eed79
moved getting server TZ DateLUT to separate place, upd tests and fix
2023-04-12 12:47:05 +02:00
taiyang-li
e29cce4db9
support map node for json extract
2023-04-12 10:18:07 +08:00
Robert Schulze
05606a8835
Clean up GCC warning pragmas
2023-04-11 18:21:08 +00:00
Robert Schulze
dcfd843b2d
Merge pull request #48489 from ClickHouse/rs/date_time-alias
...
Register datediff and trim aliases in system.functions
2023-04-11 19:53:44 +02:00
Alexander Tokmakov
dfff30e1a9
Merge branch 'master' into clusters_is_active_column
2023-04-11 16:32:15 +02:00
Robert Schulze
1fc5d92ae2
Merge pull request #48627 from ClickHouse/rs/formatdatetime-refactoring
...
Minor refactoring of formatDateTime()
2023-04-11 15:29:47 +02:00
FriendLey
e327371297
Merge branch 'master' into test_soundex
2023-04-11 21:02:01 +08:00
Robert Schulze
e08b7c8a53
Merge pull request #48422 from ClickHouse/rs/better-f-in-formatdatetime
...
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime()
2023-04-11 14:12:16 +02:00
Robert Schulze
4e52dc672e
Merge pull request #48420 from ClickHouse/rs/f
...
MySQL compat: Implement %f in parseDateTime()
2023-04-11 14:12:02 +02:00
FriendLey
8aa17dbffe
remove return in void function.
2023-04-11 19:18:27 +08:00
Vasily Nemkov
e36addb96a
Hackish way of setting up timezone on the client
...
Warning: lots of debug logging
2023-04-11 13:03:03 +02:00
FriendLey
ffa1a75fb5
Merge branch 'master' into test_soundex
2023-04-11 17:52:32 +08:00
Robert Schulze
4b61685c64
Minor refactoring of formatDateTime()
...
Don't explicitly specify literal length when the called functions can
compute it.
2023-04-11 07:43:24 +00:00
Robert Schulze
c3f976c58a
Move space check out of loop
2023-04-11 06:19:10 +00:00
Robert Schulze
b7d5df7aa1
Merge branch 'master' into rs/better-f-in-formatdatetime
2023-04-11 08:11:04 +02:00
FriendLey
910bd8a15f
bugfix: fix access illegal address bugs.
2023-04-11 13:01:53 +08:00
FriendLey
6a3eb19821
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-11 09:49:52 +08:00
FriendLey
3d4c6e5a48
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-11 09:49:42 +08:00
FriendLey
baa29a5a2c
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-11 09:49:34 +08:00
FriendLey
0ac9f78c43
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-11 09:49:16 +08:00
FriendLey
a5d4a2065e
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-11 09:49:06 +08:00
Azat Khuzhin
79b83c4fd2
Remove superfluous includes of logger_userful.h from headers
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-10 17:59:30 +02:00
Arthur Passos
b062ab5b4f
Merge branch 'master' into parsey_key_value_function
2023-04-10 10:32:01 -03:00
FriendLey
2a0de4bc16
Update src/Functions/soundex.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-04-10 21:14:49 +08:00
FriendLey
a67ea35875
format code and replace std function with Common utils.
2023-04-10 19:12:17 +08:00
FriendLey
9d5fc02c5e
update code style.
2023-04-10 17:22:15 +08:00
FriendLey
890d4655a0
update code styl.
2023-04-10 17:06:31 +08:00
Nikolay Degterinsky
6debaccd85
Fix build
2023-04-09 11:12:08 +00:00
FriendLey
fe21f301f0
update code style.
2023-04-09 17:24:54 +08:00
FriendLey
20527e03ac
add soundex function. ( #39880 )
2023-04-09 16:41:11 +08:00
Alexey Milovidov
16fe18a7b6
Merge pull request #48520 from ClibMouse/feature/use-string-view-instead-of-strlen
...
Use std::string_view instead of strlen
2023-04-08 22:19:28 +03:00
Nikolay Degterinsky
7161d3d380
Fixes
2023-04-08 00:49:53 +00:00
Vitaly Baranov
62e9c419de
Merge pull request #48519 from azat/build/fwd-decl-threadpool
...
Use forward declaration of ThreadPool
2023-04-08 00:44:01 +02:00
Alexander Tokmakov
9ec91acef3
add some columns to system.clusters
2023-04-07 18:26:23 +02:00
Nikolay Degterinsky
a48655af39
Merge branch 'master' into add-kafka-murmur-hash-function
2023-04-07 12:21:16 +02:00
Azat Khuzhin
011480924a
Use forward declaration of ThreadPool
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 11:25:35 +02:00
ltrk2
4449e49e72
Mark a function inline
2023-04-06 13:28:30 -07:00
ltrk2
00c8e6e60d
Use std::string_view instead of strlen
2023-04-06 11:39:33 -07:00
Arthur Passos
d381f82843
remove escaping_support parameter left overs
2023-04-06 12:22:47 -03:00
Arthur Passos
52e7a09de7
Use two functions extractKeyValuePairs and extractKeyValuePairsWithEscaping instead of boolean parameter
2023-04-06 12:17:14 -03:00
Arthur Passos
671f4b100c
minor renaming
2023-04-06 11:28:40 -03:00
Robert Schulze
7bcb8c4970
Register trim aliases in system.functions
2023-04-06 14:25:27 +00:00
Robert Schulze
cfd9c4d85e
Register aliases of date_diff in system.functions
2023-04-06 14:04:37 +00:00
Jordi Villar
e4977861a0
toTimeZone throw an error when no string constant timezone
2023-04-06 13:41:43 +02:00
Robert Schulze
b7be5fd89e
Improve code and tests
2023-04-06 08:47:38 +00:00
Robert Schulze
5eb31bba87
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime()
2023-04-06 08:13:04 +00:00
Robert Schulze
ce2692ba79
Merge pull request #47246 from ClickHouse/rs/m
...
Change the behavior of formatter %M in function formatDateTime() from minutes to month name
2023-04-06 09:19:50 +02:00
Anton Popov
166a63c36c
Merge pull request #46589 from ClickHouse/rs/nonconst-replace
...
replace[Regexp]{One,All}(): allow non-const pattern and replacement arguments
2023-04-06 03:08:28 +02:00
Nikolay Degterinsky
0dfcc84910
Add support for Date/Datetime datatypes to arrayMin, arrayMax, arrayDifference functions
2023-04-06 00:53:53 +00:00
Robert Schulze
65609340cc
Yet another fix
2023-04-05 20:23:41 +00:00
Robert Schulze
3e84be5f3a
Fix stuff
2023-04-05 20:10:27 +00:00
Robert Schulze
ce234baf9c
Merge branch 'master' into rs/f
2023-04-05 21:59:13 +02:00
Robert Schulze
809a7fbb7a
Incorporate more review feedback
2023-04-05 19:43:30 +00:00
Arthur Passos
46bf0572cb
=default for extractkvp constructor
2023-04-05 16:42:50 -03:00
Arthur Passos
a1446764a9
update docs to reflect new boolean argument
2023-04-05 13:27:38 -03:00
Arthur Passos
3c3c38d689
Use boolean column as escaping support argument instead of ColumnString
2023-04-05 13:20:32 -03:00
Arthur Passos
b7c34e4356
more docs
2023-04-05 12:33:30 -03:00
Arthur Passos
ebd22e92ce
more docs / comments
2023-04-05 11:53:13 -03:00
Vitaly Baranov
862a4d6fcd
Merge pull request #48142 from DimasKovas/json_functions_to_h_file
...
Move FunctionsJSON implementation to header file
2023-04-05 16:52:48 +02:00
Arthur Passos
6dec537b3c
more docs
2023-04-05 10:34:39 -03:00
Robert Schulze
949f7c1839
Fix darwin build
2023-04-05 12:07:22 +00:00
Arthur Passos
5437b7dafa
fix clangtidy build
2023-04-05 08:15:49 -03:00
Robert Schulze
a59b53775c
Fix style
2023-04-05 10:43:55 +00:00
Robert Schulze
0d5d2a9b55
Implement %f in parseDateTime()
...
Fixes : #48394
@cc OP
2023-04-05 09:13:18 +00:00
Anton Popov
b03acf5680
Merge branch 'master' into rework-map-functions
2023-04-04 23:35:12 +02:00
Arthur Passos
10b821fa2e
remove big input test as it's outdated
2023-04-04 15:44:14 -03:00
Kruglov Pavel
5f930aeb26
Merge pull request #48115 from save-my-heart/throw_non_parametric_function
...
throw exception while non-parametric functions having parameters
2023-04-04 12:05:34 +02:00
Vladimir C
35572321a1
Merge pull request #48207 from bigo-sg/map_from_maps
2023-04-04 11:12:05 +02:00
Robert Schulze
73ffdbe2f4
Minor fixups
2023-04-04 09:11:59 +00:00
Robert Schulze
a7c153f88c
replace{One/All}(): allow non-const pattern and replacement arguments
2023-04-04 08:26:28 +00:00
taiyang-li
3bd29f0aa9
fix exception message
2023-04-04 10:34:33 +08:00
Arthur Passos
22367f84e6
fix undefined mm_is_in_prepare
2023-04-03 18:26:30 -03:00
Arthur Passos
fa1fdf7573
style
2023-04-03 15:28:17 -03:00
Arthur Passos
c1bcfbc57d
extract configuration comparisons into meaningful methods
2023-04-03 15:25:18 -03:00
Arthur Passos
607b0c8880
Use different string writers strategies for escaping and non escaping
2023-04-03 15:16:06 -03:00
Arthur Passos
c7c96bfeab
refactor state handlers so writer comes from them
2023-04-03 14:19:15 -03:00
Arthur Passos
c80ba3d52e
unit tests passing
2023-04-03 13:48:58 -03:00
Arthur Passos
aee9ccb27a
validated output against main test case, performance is not the same as before, but still good
2023-04-03 12:45:29 -03:00
Anton Popov
531e888577
fix style check
2023-04-03 14:39:42 +00:00
Anton Popov
b3515c768b
Merge remote-tracking branch 'upstream/master' into HEAD
2023-04-03 14:11:04 +00:00
Anton Popov
6dde159227
add comments and docs
2023-04-03 13:43:11 +00:00
Kruglov Pavel
9e595c82fa
Merge pull request #47494 from KevinyhZou/enable_return_null_element_not_exist
...
Enable return null and complext type for JSON_VALUE function
2023-04-03 14:05:18 +02:00
Robert Schulze
8e4b0e5fba
Merge pull request #48332 from ClickHouse/rs/prefer-native-over-alias
...
Minor: Suggest ClickHouse-native function name over MySQL-compatibility alias
2023-04-03 09:32:16 +02:00
Robert Schulze
d7ee316380
Minor: Suggest ClickHouse-native function name over MySQL-compatibility alias
2023-04-03 07:28:31 +00:00
KevinyhZou
da4ff587af
review fix
2023-04-02 12:38:17 +08:00
KevinyhZou
7d59f36336
code style fix
2023-04-02 12:37:18 +08:00
KevinyhZou
ce5f4cf4ab
code review fix
2023-04-02 12:37:18 +08:00
KevinyhZou
0935ccf0e0
ci fix
2023-04-02 12:30:59 +08:00
KevinyhZou
2126199193
check style
2023-04-02 12:30:59 +08:00
KevinyhZou
e0a10dc62f
enable nullable return type
2023-04-02 12:30:59 +08:00
KevinyhZou
740a5ef777
enable return null and complext type
2023-04-02 12:29:12 +08:00
Robert Schulze
3315acd122
Merge pull request #48222 from ClickHouse/rs/no-default-format-string
...
parseDateTime[InJodaSyntax](): Require format argument
2023-04-01 16:59:33 +02:00
Alexander Tokmakov
48b23dd012
Fix race between DROP MatView and RESTART REPLICAS ( #47863 )
...
* fix race between drop mv and restart replicas
* unrelated: fix bad exception messages
* fix test
* fix
* fix
* fix
* fix
* fix test
* fix
* fix test
* Update 02437_drop_mv_restart_replicas.sh
* fix tests
2023-04-01 15:26:00 +03:00
Arthur Passos
e52a2982e0
fixed another stringwriter bug, where multi-row input would break because of prev_commit_offset=0
2023-03-31 15:01:42 -03:00
Alexander Gololobov
ae0707ba01
Remove unused error codes
2023-03-31 17:23:42 +02:00
Robert Schulze
9094772712
Replace manual checking by validateFunctionArgumentTypes()
2023-03-31 14:22:10 +00:00
Arthur Passos
0b7792f7b7
fix string writer ub, escape sequence parsing failure and make state machine fully functional (remove extra if statements)
2023-03-31 10:44:39 -03:00
Anton Popov
12c7992d36
Merge pull request #48118 from CurtizJ/optimize-mapUpdate
...
Optimize function `mapUpdate`
2023-03-31 15:03:15 +02:00
Nikolay Degterinsky
47ea27fd92
Fix
2023-03-31 02:57:55 +00:00
Anton Popov
1a6cdb3a6f
fix fuzzer
2023-03-31 02:20:17 +00:00
Alexey Milovidov
6e3ced86e9
Merge pull request #48220 from ClickHouse/rs/caseinsensitive-str_to_date
...
MySQL compatibility: Make str_to_date alias case-insensitive
2023-03-30 22:08:01 +03:00
Anton Popov
39b9d00373
fix tests
2023-03-30 18:56:40 +00:00
Anton Popov
4912de441a
add tests and documentation
2023-03-30 18:27:56 +00:00
Anton Popov
5a2587af87
fix cast from Map to named Tuple
2023-03-30 15:54:25 +00:00
Nikolay Degterinsky
c363b5820e
Merge pull request #47087 from evillique/decode_ulid
...
Add function ULIDStringToDateTime
2023-03-30 17:19:07 +02:00
Vasily Nemkov
89ebe61de8
Implemented writing to ColumnString directly via StringWriter
2023-03-30 15:21:22 +02:00
Robert Schulze
8b2fc8a40a
parseDateTime[InJodaSyntax](): Require format argument
...
Function parseDateTime[InJodaSyntax]() previously accepted an
(undocumented) default format string. The problem was that
1. there is no "natural" default format
2. MySQL str_to_date() (= the motivation for
parseDateTime[InJodaSyntax]()) also provides no default format.
--> get rid of the default format
2023-03-30 12:25:55 +00:00
Robert Schulze
2df32324af
MySQL compatibility: Make str_to_date alias case-insensitive
...
MySQL doesn't care about the case
2023-03-30 12:06:20 +00:00
taiyang-li
e3f4089f3b
fix bugs
2023-03-30 18:00:38 +08:00
Robert Schulze
8354f6d489
Merge branch 'master' into rs/m
2023-03-30 10:56:21 +02:00
Vasily Nemkov
31a8a7b863
Fixed unit-tests
2023-03-30 09:25:10 +02:00
Vasily Nemkov
4b7005b8b1
Changes discussed with Arthur
2023-03-30 09:24:41 +02:00
Nikolay Degterinsky
8c8c746451
Update FunctionsCodingULID.cpp
2023-03-30 09:04:36 +02:00
Dmitrii Kovalkov
c984526288
Move functions registration to .cpp
2023-03-30 06:24:18 +03:00
Dmitrii Kovalkov
c82b1d2b59
Move FunctionsJSON.cpp -> .h
2023-03-30 06:24:18 +03:00
taiyang-li
e43780326e
wip support map args for map_from_arrays
2023-03-30 11:09:07 +08:00
Nikolay Degterinsky
1bc5489e04
Merge pull request #47895 from evillique/fix-isipv6-function
...
Fix isIPv6String function
2023-03-30 01:45:08 +02:00
Nikolay Degterinsky
5b53f5ddae
Merge branch 'master' into decode_ulid
2023-03-30 01:37:14 +02:00
Nikolay Degterinsky
4f360e76e9
Add kafkaMurmurHash function
2023-03-29 18:09:15 +00:00
Vasily Nemkov
73430b8d57
Minor adjustments
2023-03-29 18:37:44 +02:00
Vasily Nemkov
afc6b66eb3
Fused KeyStateHandler and ValueState togther
...
Removed some unneeded files and moved code around.
2023-03-29 18:28:14 +02:00
Alexey Milovidov
cc345853e7
Merge pull request #47594 from ClickHouse/decimal256-various
...
Add specializations for Decimal256 in various places
2023-03-29 17:33:20 +03:00
Robert Schulze
b4c8ef980c
Merge pull request #47838 from zvonand/zvonand-formatdecimal
...
Add toDecimalString function
2023-03-29 10:41:12 +02:00
save-my-heart
167757746f
Merge branch 'master' into throw_non_parametric_function
2023-03-29 16:15:11 +08:00
Vasily Nemkov
0a039a9601
Minor optimization of copying data into key
2023-03-29 08:43:03 +02:00
Alexey Milovidov
f7c855965d
Merge pull request #48112 from ClibMouse/s390x_reinterpretAsFloat64
...
s390x reinterpret as float64
2023-03-29 02:09:43 +03:00
Igor Nikonov
6733a85d25
Fixes
2023-03-28 20:26:21 +00:00
Yakov Olkhovskiy
9201e7d393
Merge pull request #47371 from HarryLeeIBM/hlee-s390x-hash-tuples
...
Fix hashing tuples for s390x
2023-03-28 15:19:37 -04:00
Anton Popov
8d22f7a2f3
fix crash with bad arguments
2023-03-28 18:03:15 +00:00
Anton Popov
1e79245b94
add tests
2023-03-28 17:20:05 +00:00
Anton Popov
6d05968a0f
optimize function mapUpdate
2023-03-28 16:47:14 +00:00
save-my-heart
cea631a4c2
throw exception while non-parametric functions having parameters
2023-03-28 23:24:07 +08:00
Suzy Wang
29d640aa48
s390x reinterpret as float64
2023-03-28 07:11:21 -07:00
Igor Nikonov
259df04415
Merge remote-tracking branch 'origin/master' into decimal256-various
2023-03-28 13:36:53 +00:00
Vasily Nemkov
ee8209ca01
Updated test case
...
Invalid escape sequence is removed from key or value, while corresponding key or value are not discarded
2023-03-28 14:37:28 +02:00
Vasily Nemkov
6bc33670c7
It works
2023-03-28 14:34:36 +02:00
zvonand
79f06ddfef
style fix
2023-03-28 13:58:37 +02:00
zvonand
edc80fbd94
updated docs + fix linker isssue
2023-03-28 13:25:18 +02:00
zvonand
09181a9b58
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal
2023-03-28 11:01:00 +02:00
zvonand
406e654b00
removed unnecessary imports
2023-03-28 10:56:04 +02:00
Robert Schulze
37effb4fa2
Merge remote-tracking branch 'origin/master' into rs/m
2023-03-28 08:51:12 +00:00
Robert Schulze
30444376b0
Follow-up to #47838
2023-03-28 08:47:15 +00:00
zvonand
c64e9bd233
fix style
2023-03-28 10:31:52 +02:00
Nikolay Degterinsky
71b498061b
Fix a bug, review suggestions
2023-03-28 01:48:25 +00:00
Anton Popov
f56609172d
fix style-check
2023-03-27 21:26:37 +00:00
zvonand
b6c598cace
fixed big ints + added tests
2023-03-27 22:38:42 +02:00
Anton Popov
298de8daf0
remove outdated code for Map type
2023-03-27 18:31:43 +00:00
zvonand
dbd0ccdb64
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal
2023-03-27 20:21:09 +02:00
zvonand
b7bb09d362
upload
2023-03-27 20:19:52 +02:00
Anton Popov
87520e48e8
remove registration of function out of headers
2023-03-27 18:07:21 +00:00
Anton Popov
e84ae646b6
move functions to headers
2023-03-27 17:38:21 +00:00
Vasily Nemkov
7854800517
Almost works
2023-03-27 19:35:22 +02:00
Anton Popov
7165da1cc6
rework functions that work with Map type
2023-03-27 17:34:17 +00:00
Robert Schulze
3701fda6b1
Add str_to_date() alias for MySQL compat
...
Fixes #43755
2023-03-27 14:52:32 +00:00
Robert Schulze
eafae6fdba
Cosmetics
2023-03-27 14:01:26 +00:00
Robert Schulze
3db38dbb5a
Replace mySQL date formatter M behavior from minutes to month name
2023-03-27 14:00:51 +00:00
Robert Schulze
22da93e239
Cosmetics
2023-03-27 14:00:44 +00:00
Alexey Milovidov
f809f1b812
Merge pull request #48019 from ClickHouse/rs/parsedatetime-ub
...
parseDateTime(): Fix UB (signed integer overflow)
2023-03-27 16:42:31 +03:00
Alexey Milovidov
e284f55674
Merge pull request #47702 from ClickHouse/polygons-crash-45355
...
Fix crash in polygonsSymDifferenceCartesian
2023-03-27 00:39:46 +03:00
Robert Schulze
f9d473a94d
parseDateTime(): Fix UB (signed integer overflow)
2023-03-26 20:02:38 +00:00
exmy
680ab4fae3
Fix incorrect code indentation
2023-03-26 17:14:01 +08:00
Nikolay Degterinsky
585b7b9345
Better type check in arrayElement function
2023-03-24 23:36:45 +01:00
Vitaly Baranov
1badc3cba0
Move information about current hosts and list of all hosts to BackupCoordination ( #47971 )
...
to simplify the code and help implementing other features.
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-03-24 17:38:19 +01:00
Vasily Nemkov
e22eee8055
Updated implementation of find_first_symbols for run-time needle
...
Implemented compile-time and run-time dispatching between SSE4.2 and SSE2 implementations
Added find_first_symbols_sse2
Added tests
2023-03-24 15:45:12 +01:00
zvonand
3f2afd6f6e
fix
2023-03-24 13:35:09 +01:00
Dmitry Novik
325f42ff01
Attemp not to include ColumnVector and Field
2023-03-24 04:37:49 +01:00
pufit
a9089da350
Remove debug comment
2023-03-23 20:36:33 -04:00
pufit
fd1d8d5c55
Third attempt to fix crash.
2023-03-23 19:00:20 -04:00
Robert Schulze
bd02627869
Update docs for parseDateTime() (follow-up to #46815 )
2023-03-23 21:28:03 +00:00
Robert Schulze
e84764f4e1
Merge pull request #46815 from bigo-sg/to_timestamp
...
Add new function parseDateTime/parseDateTimeInJodaSyntax
2023-03-23 22:20:18 +01:00
Nikolay Degterinsky
531068df16
Fix exception type in arrayElement ( #47909 )
2023-03-23 16:01:04 +01:00
Vitaly Baranov
1d9bfca68d
Merge pull request #47919 from vitlibar/improve-replicated-used-defined-functions
...
Improve replicated user defined functions
2023-03-23 14:07:08 +01:00
李扬
88d430a8f0
Merge branch 'master' into to_timestamp
2023-03-23 14:35:45 +08:00
taiyang-li
e07114a6e3
fix overflow issue of readNumberWithVariableLength
2023-03-23 12:13:51 +08:00
Vitaly Baranov
b0fb8fecee
Make names in ZooKeeper consistent with non-replicated storage.
2023-03-23 02:50:18 +01:00
Vitaly Baranov
14cae25bd3
Allow start without ZooKeeper.
2023-03-23 02:47:50 +01:00
zvonand
b9bbda3a6f
add test + fix
2023-03-23 01:42:00 +01:00
pufit
f69c432f5f
Second attempt to fix crash.
2023-03-22 18:23:11 -04:00
Antonio Andelic
b0aab0d8ca
Merge pull request #47860 from ClickHouse/fix-datetime-lc
...
Fix DateTime monotonicity check for LowCardinality
2023-03-22 17:56:07 +01:00
Nikolay Degterinsky
c28b97881c
Fix isIPv6String function
2023-03-22 13:42:35 +00:00
taiyang-li
db6efaa339
fix failed uts
2023-03-22 16:53:47 +08:00
taiyang-li
94175b79a7
Merge branch 'master' into to_timestamp
2023-03-22 16:46:44 +08:00
taiyang-li
d850c5a526
change as request
2023-03-22 16:45:46 +08:00
Maksim Kita
40b077c22b
Merge pull request #47506 from CurtizJ/get-subcolumn
...
Better support of identifiers from compound expressions in analyzer
2023-03-22 11:19:25 +03:00
Antonio Andelic
ad2f5ba0d6
Fix datetime monotonicity check for LC
2023-03-22 07:41:31 +00:00
Arthur Passos
487296c1c3
style
2023-03-21 13:41:37 -03:00
zvonand
83ee185fce
upd
2023-03-21 16:33:19 +01:00
Arthur Passos
41701d9baa
remove isEscapeCharacter method
2023-03-21 12:28:15 -03:00
Arthur Passos
5952ed030c
use standard parseComplexEscapedSequence instead of custom implementation. Drops support for 1 digit hex and octal digits
2023-03-21 12:21:09 -03:00
Vitaly Baranov
27ef59d46e
Remove wrong chassert() in UserDefinedSQLObjectsLoaderFromZooKeeper.cpp
2023-03-21 13:56:27 +01:00
zvonand
1bd6eef9c2
readded new funcs + basic tests, big decimals WiP
2023-03-21 13:38:39 +01:00
Arthur Passos
cceb1b278c
Merge branch 'master' into parsey_key_value_function
2023-03-20 15:27:37 -03:00
Arthur Passos
c12869681b
move runtime find_first_symbols to find_symbols.h
2023-03-20 15:26:00 -03:00
pufit
fa0c4b5b1b
Merge branch 'master' into polygons-crash-45355
2023-03-20 13:36:30 -04:00
Arthur Passos
c3244d7f2d
remove needles size check inside find_first_symbols
2023-03-20 13:25:48 -03:00
Arthur Passos
662848fe76
remove reading_empty state
2023-03-20 13:25:03 -03:00
taiyang-li
96413e528c
commit again
2023-03-21 00:24:06 +08:00
Arthur Passos
c677be1ccd
validate pair delimiters does not contain escape character
2023-03-20 13:16:55 -03:00
taiyang-li
3ca789b4a2
changes as requested
2023-03-20 23:58:37 +08:00
taiyang-li
c77ed91319
change as request
2023-03-20 23:20:57 +08:00
Vitaly Baranov
198409e12a
Merge pull request #46085 from aalexfvk/alexfvk/store_udf_in_zookeeper
...
Replication of user-defined SQL functions using ZooKeeper
2023-03-20 13:41:29 +01:00
Alexey Milovidov
4a44dafdee
Merge branch 'master' into decimal256-various
2023-03-20 03:30:14 +01:00
Alexey Milovidov
d0090119a1
I hate short variable names wholeheartedly
2023-03-19 02:39:59 +01:00
Alexey Milovidov
c10011ddf9
Fix error
2023-03-18 04:38:04 +01:00
Alexey Milovidov
aea421cc9b
Add a style check for unsafe code
2023-03-18 03:29:14 +01:00
Alexey Milovidov
2b3c42335a
Fix some strange code
2023-03-18 03:12:04 +01:00
pufit
c14c083cdf
Fix crash in polygonsSymDifferenceCartesian
2023-03-17 19:30:12 -04:00
Han Fei
722e6bb2e8
Merge pull request #47680 from ClickHouse/rs/uncruftify-build
...
CMake: Remove further cruft from build
2023-03-17 22:58:46 +01:00
Alexey Milovidov
26d17fe560
Merge branch 'master' of github.com:ClickHouse/ClickHouse into decimal256-various
2023-03-17 22:15:16 +01:00
Kruglov Pavel
9e0b816ac4
Merge branch 'master' into random-structure
2023-03-17 20:00:21 +01:00
Arthur Passos
f9af3995d3
remove stale reference
2023-03-17 14:05:22 -03:00
Robert Schulze
f72a337074
Remove cruft from build
...
No need to check compiler flags, clang >= 15 supports all of them.
2023-03-17 13:44:04 +00:00
Anton Popov
3ee3666db7
fix clang-tidy
2023-03-17 13:02:15 +00:00
Arthur Passos
0569620a81
remove all usages of the word enclosed and use quoted instead
2023-03-17 09:59:16 -03:00
Arthur Passos
c22475a531
minor changes
2023-03-17 09:46:29 -03:00
Robert Schulze
f8980c582e
CMake: More removal of gold linker (follow-up to #47660 )
...
+ fix a linker warning
2023-03-17 11:01:46 +00:00
Aleksei Filatov
886b530963
[rev: 1] Fix review remarks
2023-03-17 13:56:05 +03:00
Aleksei Filatov
cf6ca10c83
Tests for replicated system.functions
2023-03-17 13:56:05 +03:00
Aleksei Filatov
690d8355ca
Add classes for backup/restore UDF
2023-03-17 13:56:04 +03:00
Aleksei Filatov
f84aa2f4ca
Add classes for replication UDF to ZooKeeper
2023-03-17 13:56:04 +03:00
Arthur Passos
c4cb3a565a
add some more input validation
2023-03-16 17:41:49 -03:00
Anton Popov
e536c80274
add test with array of tuples
2023-03-16 20:30:54 +00:00
HarryLeeIBM
1ba75c6408
Refactored by using std::byteswap
2023-03-16 10:03:43 -07:00
Arthur Passos
09faf121d6
cross check parameters
2023-03-16 14:01:40 -03:00
Arthur Passos
ee210bd6df
input parameter validation, still draft
2023-03-16 11:26:27 -03:00
HarryLeeIBM
808f2c0cb4
Fix hashing tuples for s390x
2023-03-16 08:44:28 -04:00
Andrey Zvonov
4327d707e0
Merge branch 'master' into zvonand-implicit-tz
2023-03-15 22:18:52 +01:00
Arthur Passos
40639fade9
remove support for multiple quoting characters
2023-03-15 11:18:14 -03:00
Kruglov Pavel
721fa96c03
Merge branch 'master' into random-structure
2023-03-15 14:28:13 +01:00
Vitaly Baranov
00c05f7f8b
Merge pull request #47546 from vitlibar/use-server-side-copy-for-restore
...
Use server-side copy for restore from S3 to S3.
2023-03-15 11:28:29 +01:00
Robert Schulze
5cee479f0c
Merge pull request #47424 from ClickHouse/rs/compile-with-cpp23
...
Compile with C++23
2023-03-15 10:55:42 +01:00
Alexey Milovidov
399634a1bc
More tests
2023-03-15 00:38:46 +01:00
Arthur Passos
b74faae9b8
add first noescaping impl, add tests
2023-03-14 19:39:40 -03:00
Alexey Milovidov
e074a154dd
Fix style
2023-03-14 22:47:22 +01:00
Alexey Milovidov
e952ecae8c
Add Decimal256 to a lot of places
2023-03-14 22:10:52 +01:00
Ilya Yatsishin
82a6d75050
Merge pull request #47535 from ucasfl/insrt
...
Add INSTR as alias of positionCaseInsensitive for MySQL compatibility
2023-03-14 22:00:40 +01:00
Arthur Passos
6672821653
remove unwanted files
2023-03-14 15:13:54 -03:00
Arthur Passos
166bbae6cd
add a few more tests
2023-03-14 15:13:07 -03:00
Arthur Passos
363c898c12
refactor to find_first logic instead of character validation
2023-03-14 14:56:14 -03:00
Vitaly Baranov
1cf1ce07fe
Use server-side copy during restore from S3 to S3.
2023-03-13 23:50:13 +01:00
Arthur Passos
6922cf7de0
seems functional
2023-03-13 17:35:06 -03:00
Antonio Andelic
914e0fbb0a
Fix monotonic check with DateTime64
2023-03-13 16:30:32 +00:00
flynn
81b04977fd
Add INSTR as alias of posionCaseInsensitive for MySQL compatibility
2023-03-13 15:44:38 +00:00
Alexey Milovidov
f445649845
Merge branch 'master' into rs/compile-with-cpp23
2023-03-12 21:33:20 +03:00
Anton Popov
6ba79c2737
better support of identifiers from compound expressions
2023-03-12 16:24:50 +00:00
Maksim Kita
114d30d2bb
Merge pull request #47383 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
...
Analyzer planner fixes before enable by default
2023-03-11 22:09:04 +03:00
Maksim Kita
3d34247998
Fixed tests
2023-03-11 11:51:54 +01:00
Alexey Milovidov
6ba54ab421
Merge branch 'master' into rs/compile-with-cpp23
2023-03-11 06:33:14 +03:00
Alexey Milovidov
eead7fcbac
Fix error in decodeURLComponent
2023-03-11 02:24:44 +01:00
Robert Schulze
348a40aa5d
Compile with C++23
2023-03-10 19:11:58 +00:00
avogar
f9d9b1ee23
Add more options
2023-03-10 16:16:28 +00:00
Arthur Passos
2530b60fb2
tmp
2023-03-10 09:59:31 -03:00
Sema Checherinda
1260f6910f
Merge pull request #47398 from CheSema/additional-asserts
...
add checks for ptr
2023-03-10 12:32:51 +01:00
avogar
48d701f0e7
Better docs
2023-03-09 20:27:14 +00:00
avogar
0d430de54f
Better
2023-03-09 20:18:17 +00:00
avogar
66eb06d839
Better
2023-03-09 20:15:32 +00:00
avogar
e5f6ced3d7
Fix style
2023-03-09 18:01:37 +00:00
avogar
067bfb8844
Add new function generateRandomStructure
2023-03-09 17:47:14 +00:00
Nikolay Degterinsky
44531e5f85
Merge pull request #47322 from evillique/running_difference
...
Add support for big int types to runningDifference() function
2023-03-09 12:39:35 +01:00
Sema Checherinda
7bf1b83414
add checks
2023-03-09 12:37:57 +01:00
Alexander Tokmakov
38f9f08e1a
Merge pull request #47268 from myrrc/improvement/more-to-base-3
...
use std::lerp, constexpr hex.h
2023-03-08 19:07:34 +03:00
Vladimir C
b298fbeecc
Merge pull request #47134 from KevinyhZou/enable_int_types_repeat_function
2023-03-08 10:09:20 +01:00
Nikolay Degterinsky
e1b309a904
Better docs, add timezone
2023-03-08 06:20:49 +00:00
Nikolay Degterinsky
51edcf232c
Add support for big int types to runningDifference() function
2023-03-08 00:52:58 +00:00
Mike Kot
9920a52c51
use std::lerp, constexpr hex.h
2023-03-07 22:50:17 +00:00
Arthur Passos
91651b18f3
Merge branch 'ClickHouse:master' into extract_key_value_pairs_find_delimiter_approach
2023-03-07 12:21:33 -03:00
taiyang-li
b2757a65a5
Merge branch 'master' into to_timestamp
2023-03-07 16:26:24 +08:00
taiyang-li
5723e1f3a3
fix code style
2023-03-07 16:24:00 +08:00
taiyang-li
ea73f68ab4
rename symbols
2023-03-07 15:50:11 +08:00
taiyang-li
b303fb5630
finish docs
2023-03-07 15:30:38 +08:00
taiyang-li
6eafdc57a3
fix failed uts
2023-03-07 14:35:50 +08:00
taiyang-li
1ab4ef0ffa
add some comments
2023-03-07 11:45:32 +08:00
Arthur Passos
c0da2810d7
temp
2023-03-06 14:19:22 -03:00
Mike Kot
4bc443f3c7
initial solution
2023-03-06 19:35:00 +03:00
taiyang-li
3979ad1348
remove usedless vectors
2023-03-06 17:35:08 +08:00
taiyang-li
89a2329e62
change as requested
2023-03-06 17:08:55 +08:00
taiyang-li
4fc1f131d3
change as requested
2023-03-06 12:39:02 +08:00
Anton Popov
6f3e4d4137
Merge pull request #46118 from CurtizJ/fix-issues-with-sparse
...
Randomize setting `ratio_of_defaults_for_sparse_serialization`
2023-03-05 22:28:18 +01:00
taiyang-li
d7cb43a20b
change as requested
2023-03-05 16:24:05 +08:00
Robert Schulze
74fcffb067
Merge pull request #31125 from taiyang-li/map_from_arrasy
...
Implement spark function mapFromArrays()
2023-03-03 09:28:54 +01:00
taiyang-li
6feee40ee9
change as request
2023-03-03 10:42:35 +08:00
Maksim Kita
3cd88003dd
Merge pull request #47101 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
...
Analyzer Planner fixes before enable by default
2023-03-02 22:16:39 +03:00
Maksim Kita
eab29f4a4e
Fixed tests
2023-03-02 13:09:18 +01:00
KevinyhZou
cdc8596f81
enable int type in repeat function
2023-03-02 20:08:39 +08:00
Mikhail f. Shiryaev
be1cd6cbe4
Merge branch 'master' into map_from_arrasy
2023-03-02 12:36:25 +01:00
Robert Schulze
cd42cdc57d
Merge pull request #47115 from HarryLeeIBM/hlee-s390x-xxhash-2
...
Fix halfMD5 and cityhash for s390x
2023-03-02 11:09:37 +01:00
taiyang-li
09a3bad3e0
remove std::cout
2023-03-02 17:01:16 +08:00
taiyang-li
b5a24b34fd
fix fast tests
2023-03-02 16:58:34 +08:00
李扬
2d37e3e7ba
Merge branch 'master' into map_from_arrasy
2023-03-02 14:37:31 +08:00
HarryLeeIBM
b84e9fdaac
Fix halfMD5 and cityhash for s390x
2023-03-01 13:36:35 -08:00
Robert Schulze
15fec805fb
Merge pull request #46950 from ClickHouse/rs/uninline-likePatternToRegexp
...
Un-inline likePatternToRegexp()
2023-03-01 21:38:40 +01:00
Anton Popov
c4a999ce29
Merge remote-tracking branch 'upstream/master' into HEAD
2023-03-01 19:33:16 +00:00
Nikolai Kochetov
d469f138dc
Merge pull request #46790 from avoiderboi/add-width-bucket
...
Add `WIDTH_BUCKET` function
2023-03-01 18:35:36 +01:00
Maksim Kita
d39be3ac9c
Fixed tests
2023-03-01 18:05:07 +01:00
Maksim Kita
6209d13ad5
Analyzer support _shardNum column to shardNum() function rewrite
2023-03-01 18:03:42 +01:00
Nikolay Degterinsky
85e0a57974
Add function ULIDStringToDateTime
2023-03-01 16:22:59 +00: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
taiyang-li
e8847f2fb6
change as request
2023-03-01 21:15:01 +08:00
taiyang-li
f84eee778b
Merge branch 'master' into map_from_arrasy
2023-03-01 20:41:25 +08:00
taiyang-li
8edc677805
Merge branch 'master' into map_from_arrasy
2023-03-01 20:37:21 +08:00
taiyang-li
e85c4f1d3a
fix code styles and typos
2023-03-01 20:24:50 +08:00
taiyang-li
d7b83608c5
finish performance profile
2023-03-01 17:15:29 +08:00
taiyang-li
d47452a1e5
remove useless code
2023-03-01 11:25:38 +08:00
taiyang-li
573c674dc2
refactor some functions
2023-03-01 11:02:41 +08:00
Anton Popov
2c41ddf609
support Bool in JSONType
2023-03-01 02:07:09 +00:00
taiyang-li
ad48ad3787
some refactor works
2023-02-28 23:02:02 +08:00
taiyang-li
8d33a961ab
fix all bugs
2023-02-28 20:42:16 +08:00
Nikolai Kochetov
8531b17462
Try to add a very stupid fix for aarch64. Mute ubsan for overflow.
2023-02-28 10:03:33 +00:00
taiyang-li
fe9c4ea0ce
add test of joda syntax
2023-02-28 17:27:59 +08:00
taiyang-li
beced6fd52
fix all bugs in mysql syntax
2023-02-28 14:52:13 +08:00
taiyang-li
e288c92d62
fix some bugs
2023-02-28 14:08:03 +08:00
Yakov Olkhovskiy
f4a8b099de
allow IPv4 in range()
2023-02-27 21:36:21 +00:00
Robert Schulze
35f4b42608
Move likePatternToRegexp from Functions/ to Common/
2023-02-27 16:41:15 +00:00
Anton Popov
caa1d22759
Merge branch 'master' into fix-issues-with-sparse
2023-02-27 15:25:19 +01:00
taiyang-li
05823ffb9a
finish dev joda parsing
2023-02-27 21:41:38 +08: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
ff9c2fb9fc
Un-inline likePatternToRegexp()
2023-02-27 11:41:37 +00: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
zvonand
a69425326d
upd
2023-02-27 01:40:00 +01:00
zvonand
49fb028498
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz
2023-02-26 17:20:09 +01:00
Robert Schulze
f53d38cf85
Merge branch 'master' into rs/like-with-trailing-percentage
2023-02-26 14:43:27 +01:00