Robert Schulze
e406467346
More UB safety
2023-09-12 16:28:08 +00:00
robot-clickhouse
63243fbc03
Merge pull request #54480 from amosbird/fix_54406
...
Fix aggregate projections with normalized states
2023-09-12 13:43:41 +02:00
Robert Schulze
3e16bdbcc7
Fix UB
2023-09-12 11:10:17 +00:00
Amos Bird
667426f1f2
DataTypeAggregateFunction::strictEquals
2023-09-12 03:54:19 +08:00
Amos Bird
9e56cff588
Better lambda capture
2023-09-12 02:49:27 +08:00
Robert Schulze
49f29861a0
Merge pull request #54479 from rschu1ze/todayssinceyearzero
...
Add function toDaysSinceYearZero()
2023-09-11 17:05:28 +02:00
Robert Schulze
73ce1993fb
Continue #45070
2023-09-11 13:47:06 +00:00
Yarik Briukhovetskyi
97f4625037
Merge pull request #54443 from yariks5s/non_const_timezone_fixup
...
ToString() performance improvement and code cleanup
2023-09-11 10:50:56 +03:00
robot-ch-test-poll
6f3374d684
Merge pull request #54481 from ucasfl/hints
...
Refactor IHints
2023-09-10 15:46:36 +02:00
Robert Schulze
caadfe393b
Fixes
2023-09-10 13:34:02 +00:00
flynn
6ec783a746
Refactor IHints
2023-09-10 03:48:12 +00:00
Amos Bird
fb0f9ff565
Fix aggregate projections with normalized states
2023-09-10 03:21:22 +08:00
Robert Schulze
1ce84774f0
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
...
Fixes : #54277
2023-09-09 16:59:39 +00:00
Robert Schulze
0a05831839
Cosmetics
2023-09-09 16:52:42 +00:00
Robert Schulze
4d2223defe
Merge pull request #54119 from mkmkme/mkmkme/aklomp-base64
...
Replace Turbo-Base64 with aklomp/base64
2023-09-09 16:24:26 +02:00
Alexey Milovidov
71d37d64ab
Revert "Fix issues in accurateCastOrNull"
2023-09-09 06:37:02 +03:00
Yarik Briukhovetskyi
12ce57369b
Update FunctionsConversion.h
2023-09-08 15:36:33 +02:00
yariks5s
66479b6966
code cleanup and performance improvement
2023-09-08 10:54:25 +00:00
Robert Schulze
7fef4c8cb6
Merge pull request #53680 from yariks5s/todatatime-non-const-data
...
Support non-constant timezone arguments in toString() and formatDateTime()
2023-09-07 22:11:17 +02:00
Robert Schulze
e761532d7a
Fix style
2023-09-07 15:00:06 +02:00
yariks5s
5afca8a903
optimized toString()
2023-09-07 12:41:01 +00:00
Nikolay Degterinsky
b06412ae60
Add addDate function for compatibility with MySQL
2023-09-07 11:15:49 +00:00
Robert Schulze
cd3c121a62
Various fixups
2023-09-07 10:32:49 +00:00
Joey Wang
872f981416
add doc
2023-09-07 16:19:17 +08:00
Joey Wang
2755fc045e
add function jsonMerge
2023-09-07 10:01:27 +08:00
Alexey Milovidov
47701d690a
Merge pull request #54136 from aiven-sal/aiven-sal/fix_38585
...
Fix issues in accurateCastOrNull
2023-09-06 19:14:03 +03:00
yariks5s
0c802df855
small improvement
2023-09-06 13:33:11 +00:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
...
Closes #31643
2023-09-06 13:01:38 +00:00
Nikolay Degterinsky
42ce81e62a
Merge pull request #54339 from arenadata/ADQM-1158
...
Improved protection from dereferencing of nullptr
2023-09-06 12:25:57 +02:00
Salvatore Mesoraca
f61390e12c
Fix style issue
2023-09-06 08:42:45 +02:00
Alexey Gerasimchuck
076a6e7476
reduced code amount
2023-09-06 02:07:39 +00:00
Alexey Gerasimchuck
686f018183
Improved protection from dereferencing of nullptr
2023-09-06 01:46:58 +00:00
Salvatore Mesoraca
058630481a
Re-throw exceptions that are not related to bool parsing errors
2023-09-05 18:37:10 +02:00
Salvatore Mesoraca
1d3e28d301
Fix unrelated format issues that clang-format complained about
2023-09-05 18:37:10 +02:00
Salvatore Mesoraca
fcff853dcf
Return Null instead of default in accurateCastOrNull for invalid IPs
2023-09-05 18:37:09 +02:00
Salvatore Mesoraca
393667dc39
accurateCastOrNull must not throw when casting arbitrary string to Bool
...
Fix #38585
2023-09-05 18:37:03 +02:00
flynn
182636fb23
Merge branch 'master' of github.com:ClickHouse/ClickHouse into isNull
2023-09-05 14:10:36 +00:00
robot-ch-test-poll
886a6e6e86
Merge pull request #54269 from bharatnc/ncb/update-tldLookup
...
update tldLookup data
2023-09-05 16:00:15 +02:00
flynn
aa0c94f20c
Handle Null in function isZeroOrNull
2023-09-05 13:53:15 +00:00
Yarik Briukhovetskyi
7f4fa192c5
Merge branch 'ClickHouse:master' into todatatime-non-const-data
2023-09-05 12:48:56 +03:00
yariks5s
767cac44da
minor requests
2023-09-05 08:13:12 +00:00
Bharat Nallan Chakravarthy
4bf96522d5
fix one more clang-tidy issue
2023-09-04 17:06:37 -07:00
Alexey Milovidov
2972f2e93e
Merge pull request #54261 from ucasfl/minor
...
Minor change
2023-09-05 01:11:07 +03:00
Bharat Nallan Chakravarthy
0342e80405
fix incorrect gperf class and function names
2023-09-04 13:00:26 -07:00
Bharat Nallan Chakravarthy
a0927eb8e4
clang-tidy fix
2023-09-04 13:00:26 -07:00
flynn
8251ba2951
Mirror change
2023-09-04 15:54:01 +00:00
yariks5s
4af150db5f
fixed suggestions
2023-09-04 14:22:03 +00:00
yariks5s
033970716e
fixed tests
2023-09-04 13:30:24 +00:00
Bharat Nallan Chakravarthy
df885fdc11
regenerate tldLookup
2023-09-03 20:57:14 -07:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
...
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
...
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Bharat Nallan Chakravarthy
8ecbdd2768
fix clang-tidy errors
2023-09-02 09:50:17 -07:00
Bharat Nallan Chakravarthy
48defd0556
add cmake target for generating gperf hashmap
2023-09-01 18:55:45 -07:00
Yarik Briukhovetskyi
1d270fca28
Updated FunctionsConversion.h
2023-09-01 18:30:39 +02:00
Yarik Briukhovetskyi
278cc494a2
Updated FunctionsConversion.h
2023-09-01 17:40:04 +02:00
yariks5s
1e01aa917a
Updated FunctionsConversion.h
2023-09-01 14:18:29 +00:00
yariks5s
c9f1ff03db
Minor fixes
2023-09-01 14:14:00 +00:00
yariks5s
0c9653dac5
implemented for formatDateTime and toString
2023-09-01 14:01:06 +00:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe
2023-09-01 11:02:37 +02:00
Bharat Nallan Chakravarthy
8711be533d
fix build issues
2023-08-31 23:07:30 -07:00
vdimir
df281fa41d
Fix typos
2023-08-31 15:22:27 +00:00
Bharat Nallan Chakravarthy
f6d1f6ce0a
fix style check
2023-08-30 22:09:56 -07:00
Bharat Nallan Chakravarthy
61a6316164
add script to generate hash function
2023-08-30 21:30:33 -07:00
Bharat Nallan Chakravarthy
6e1e625230
few fixes to code
2023-08-30 19:10:03 -07:00
Bharat Nallan Chakravarthy
fd1be0a601
initial implementation
2023-08-30 18:41:04 -07:00
vdimir
dbdcea30a0
fix style, add built-in documentation
2023-08-30 15:06:35 +00:00
Alexey Milovidov
9b74939110
Merge pull request #53742 from aiven-sal/aiven-sal/fix_53187
...
transform: correctly handle default column with multiple rows
2023-08-29 21:57:59 +03:00
Chen768959
a2d451d6e6
domainRFC support ipv6(square brackets) and fix #53179 ( #53506 )
2023-08-29 11:42:59 +02:00
vdimir
bb6b939d2b
Support 'is not distinct from' in join on section
2023-08-28 11:41:36 +00:00
Yong Wang
6f6a103c5f
Kusto-phase2: remove dialect auto option. use table function instead of subquery for kql() function fix type.
2023-08-26 07:40:39 -07:00
zvonand
d5f26cece5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-issue-50570
2023-08-25 16:51:51 +05:00
zvonand
0a81794a26
remove properly
2023-08-25 16:49:23 +05:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
...
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Han Fei
11262d0156
Revert "Revert "dateDiff: add support for plural units.""
2023-08-24 17:11:58 +02:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units."
2023-08-24 15:35:18 +03:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
...
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Bharat Nallan Chakravarthy
b46e8db254
generate gperf perfect hashtable
2023-08-23 18:36:17 -07:00
Robert Schulze
7f534716ff
Fix fuzzer crash in parseDateTime()
2023-08-23 20:08:27 +00:00
Salvatore Mesoraca
8f6d636ff4
Fix error reporting
2023-08-23 17:26:23 +02:00
Kruglov Pavel
8e6b8fc2d0
Merge pull request #53470 from KevinyhZou/bug_fix_json_query_path_numberic
...
Fix JSON_QUERY Function parse error while path is all number
2023-08-23 12:01:55 +02:00
Alexey Milovidov
b884fdb867
Merge pull request #53641 from irenjj/feat_53602
...
dateDiff: add support for plural units.
2023-08-23 12:45:35 +03:00
flynn
d1da30b8e3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into refactor
2023-08-23 02:34:35 +00:00
flynn
336e6d9b6c
refactor some old code
2023-08-22 16:20:48 +00:00
Salvatore Mesoraca
740fff84b4
trasform: always check that the default column is big enough
2023-08-22 17:05:56 +02:00
Salvatore Mesoraca
4421bd66b2
Fix for #53187
2023-08-22 17:05:43 +02:00
Alexey Milovidov
e6fb5a21cb
Merge pull request #53587 from dveeden/mysql_schema
...
Improve MySQL Compatibility by supporting SCHEMA()
2023-08-22 15:11:33 +03:00
Alexey Milovidov
670c879f4c
Merge pull request #53621 from amosbird/consistent_cmake_file_management
...
Consistent cmake file management
2023-08-22 14:28:04 +03:00
yariks5s
c11ed5feb4
support for non-const timezone arguments/strings
2023-08-22 10:57:58 +00:00
Robert Schulze
acaa2eee58
Merge pull request #53556 from ClibMouse/feature/big-endian-UUID-correction
...
Change Big Endian-UUID to work the same as Little Endian-UUID
2023-08-22 11:57:44 +02:00
Michael Kolupaev
a5fbac9e6b
Fix adding sub-second intervals to DateTime
2023-08-21 12:33:21 -07:00
Alexey Milovidov
316664456f
Merge pull request #53588 from kitaisreal/aarch64-neon-memequal-wide
...
AARCH64 Neon memequal wide
2023-08-21 21:11:01 +03:00
Amos Bird
1d40833a3b
These two files are needed by other programs
2023-08-22 01:09:08 +08:00
irenjj
0f0b5eb3b1
dateDiff: add support for plural units.
2023-08-21 21:15:00 +08:00
Amos Bird
882e0e7a0c
No more split of functions
2023-08-21 18:00:37 +08:00
Amos Bird
076a67bdaa
Consistent file management in CMake
2023-08-21 11:45:08 +08:00
kevinyhzou
48cb9b59f4
Support from/to utc timestamp
2023-08-21 09:28:00 +08:00
Maksim Kita
f32effb627
AARCH64 Neon memequal wide
2023-08-20 12:45:18 +03:00
Daniël van Eeden
212686c5c4
Improve MySQL Compatibility by supporting SCHEMA()
...
Basically `DATABASE()` and `SCHEMA()` are aliases in MySQL.
This helps with allowing MySQL Shell to get one step closer to a
functioning connection.
To see what MySQL Shell does:
```
mysqlsh --verbose=4 --log-sql=unfiltered mysql://default@127.0.0.1:9004
```
This might also bring other tools a step closer to working with the
MySQL compatibility of ClickHouse.
Ref: #9336
Signed-off-by: Daniël van Eeden <git@myname.nl>
2023-08-19 16:24:09 +02:00
kothiga
f33c585bc5
Addressing feedback.
2023-08-18 13:50:31 -07:00
Austin Kothig
6b42975d33
Change BE-UUID to work the same as LE-UUID. Included high and low getters to provide cleaner code when accessing undertype.
2023-08-18 08:19:46 -07:00
Yakov Olkhovskiy
84cb358c14
Merge pull request #43210 from amosbird/storage_executable_stderr
...
Add different reactions when external command stderr has data
2023-08-18 11:17:46 -04:00
Robert Schulze
b8912203e4
Merge pull request #53525 from aiven-sal/aiven-sal/siphash_readd
...
Re-add SipHash keyed functions, try II
2023-08-18 14:14:56 +02:00
Amos Bird
c43bf153f5
Refactor
2023-08-18 15:38:46 +08:00
Amos Bird
dd0c71b32a
Add error_exit_reaction
2023-08-18 15:38:46 +08:00
Amos Bird
476f3cedc1
Various reactions when executable stderr has data
2023-08-18 15:38:45 +08:00
Alexander Tokmakov
89c365803f
Merge pull request #53424 from ClickHouse/exception_message_patterns6
...
Less exceptions with runtime format string
2023-08-17 17:58:04 +03:00
Salvatore Mesoraca
c2340d588f
Fix issue found by fuzzer
2023-08-17 14:57:34 +02:00
Robert Schulze
ec7daed52f
Merge pull request #50276 from ClibMouse/feature/mergetree-checksum-big-endian-support
...
MergeTree & SipHash checksum big-endian support
2023-08-17 13:27:18 +02:00
kevinyhzou
d65dba10c6
review
2023-08-17 17:45:57 +08:00
zvonand
978a1765df
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-issue-50570
2023-08-17 12:13:06 +05:00
Michael Kolupaev
ff04660972
Merge pull request #53433 from ClickHouse/exp
...
Fix 'Context has expired' error properly
2023-08-16 18:40:53 -07:00
Alexander Tokmakov
69bc4f5139
Merge branch 'master' into exception_message_patterns6
2023-08-16 22:58:24 +02:00
kevinyhzou
f75b5c91b7
review fix
2023-08-16 18:09:21 +08:00
kevinyhzou
9d11f4bf93
Bug fix JSON_QUERY while the json path is all number
2023-08-16 17:46:50 +08:00
Michael Kolupaev
cbe4c8adc2
Fix more functions with 'Context has expired' error
2023-08-15 20:37:10 +00:00
Alexander Tokmakov
894ec8e0d0
less exceptions with runtime format string
2023-08-14 21:45:59 +02:00
Alexander Tokmakov
368f6d7b13
fix
2023-08-14 20:46:41 +02:00
ltrk2
2846ea49b4
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-14 13:02:30 -04:00
Yakov Olkhovskiy
300399d1f5
Merge pull request #52329 from ClibMouse/feature/mergetree-checksum-on-big-endian
...
Implement endianness-indepedent support for MergeTree checksums
2023-08-13 23:59:05 -04:00
Alexey Milovidov
38ac027658
Merge pull request #53342 from ClickHouse/fix-context-has-expired
...
Fix "Context has expired" error in dictionaries
2023-08-12 17:27:15 +03:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
...
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Alexey Milovidov
ad82dcec7d
Merge pull request #53059 from ClibMouse/feature/hastokenornull-empty-needle
...
Make hasTokenOrNull return null on empty needle
2023-08-12 03:35:08 +03:00
Alexey Milovidov
4b3d26982a
Merge pull request #53015 from ClibMouse/feature/transform-function-big-endian-support
...
Implement big-endian support for transform
2023-08-12 03:22:00 +03:00
Alexey Milovidov
36e74b4b51
Might be better
2023-08-12 01:31:21 +02:00
Alexey Milovidov
9601839980
Better
2023-08-12 01:04:08 +02:00
Alexey Milovidov
d25961f7f9
Fix "Context has expired" error in dictionaries
2023-08-12 00:52:14 +02:00
Salvatore Mesoraca
08e443b766
Revert "Revert "Re-add SipHash keyed functions""
...
This reverts commit e68234a231
.
2023-08-11 17:30:04 +02:00
Yakov Olkhovskiy
4953208adc
Merge pull request #52758 from ClickHouse/nullable-num-intdiv
...
Add modulo, intDiv, intDivOrZero for tuple
2023-08-11 11:00:54 -04:00
ltrk2
1dc1b54c68
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-11 07:48:49 -04:00
ltrk2
94dbef1e50
Merge branch 'master' into feature/mergetree-checksum-on-big-endian
2023-08-11 07:47:48 -04:00
ltrk2
a17b2595f2
Merge branch 'master' into feature/transform-function-big-endian-support
2023-08-11 07:47:36 -04:00
ltrk2
9923f123f4
Merge branch 'master' into feature/hastokenornull-empty-needle
2023-08-11 07:47:27 -04:00
Alexey Milovidov
3193c6d4cc
Fix build
2023-08-11 00:55:57 +02:00
Yakov Olkhovskiy
df17de8624
Merge branch 'master' into nullable-num-intdiv
2023-08-10 11:06:15 -04:00
ltrk2
a2054c04dd
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-10 10:21:34 -04:00
ltrk2
b780b64232
Merge branch 'master' into feature/mergetree-checksum-on-big-endian
2023-08-10 10:21:23 -04:00
Alexey Milovidov
dfbe7967af
Merge branch 'master' into remove-heavy-templates
2023-08-10 17:01:16 +03:00
Alexey Milovidov
1377d86ed9
Update src/Functions/array/arrayAUC.cpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-08-10 17:01:09 +03:00
Alexey Milovidov
bb57caa83e
Merge pull request #53180 from ClickHouse/ditch-tons-of-garbage
...
Ditch tons of garbage
2023-08-10 16:59:51 +03:00
Alexey Milovidov
be55bbf0ae
Merge pull request #53178 from ClickHouse/speed-up-debug-tidy-build
...
Remove garbage and speed up Debug and Tidy builds
2023-08-10 16:54:34 +03:00
Kruglov Pavel
14aad359e6
Merge pull request #52555 from bigo-sg/starts_ends_with_utf8
...
Add new function startsWithUTF8 and endsWithUTF8
2023-08-10 13:18:04 +02:00
Nikolay Degterinsky
5403507950
Add tupleConcat function
2023-08-09 20:52:09 +00:00
Alexey Milovidov
da01d756f9
Addressed review comments
2023-08-09 20:20:25 +02:00
ltrk2
139e9433a8
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-09 09:48:00 -04:00
ltrk2
add53bb8aa
Merge branch 'master' into feature/mergetree-checksum-on-big-endian
2023-08-09 09:44:32 -04:00
ltrk2
55c4c5e741
Merge branch 'master' into feature/transform-function-big-endian-support
2023-08-09 09:44:23 -04:00
ltrk2
e03258bbdc
Merge branch 'master' into feature/hastokenornull-empty-needle
2023-08-09 09:43:48 -04:00
ltrk2
52e6cf36b2
Fix style issue
2023-08-09 06:43:27 -07:00
Yakov Olkhovskiy
d1a8a88ae0
Merge branch 'master' into nullable-num-intdiv
2023-08-09 09:18:18 -04:00
yariks5s
8ab4f8c9cf
Improved efficiency
2023-08-09 09:12:39 +00:00
yariks5s
922542b497
Improved efficiency
2023-08-09 09:11:55 +00:00
Alexey Milovidov
2f6e66c8e3
Remove unnecessary templates
2023-08-09 03:19:24 +02:00
Alexey Milovidov
aa757490bd
Ditch tons of garbage
2023-08-09 02:19:02 +02:00
Alexey Milovidov
5561e3e198
Remove garbage and speed up Debug and Tidy builds
2023-08-09 01:44:39 +02:00
Yarik Briukhovetskyi
44400cc742
Merge branch 'master' into add_arrays
2023-08-08 11:55:31 +02:00
李扬
d15ae5e120
Merge branch 'master' into starts_ends_with_utf8
2023-08-08 16:18:04 +08:00
Yarik Briukhovetskyi
46ef77b5cb
Update FunctionBinaryArithmetic.h
2023-08-07 13:41:12 +02:00
yariks5s
1c400432d9
fixed suggestions
2023-08-07 10:52:55 +00:00
Yarik Briukhovetskyi
22052381d9
Merge branch 'master' into add_arrays
2023-08-04 23:17:06 +02:00
flynn
9b8f87e9ac
Merge branch 'master' into concept
2023-08-05 02:41:55 +08:00
ltrk2
06631f6a86
Make hasTokenOrNull return null on empty needle
2023-08-04 09:44:02 -07:00
Yarik Briukhovetskyi
50039210d4
Update FunctionBinaryArithmetic.h
2023-08-04 17:27:10 +02:00
yariks5s
21b4f82873
fixed fast and style check
2023-08-04 14:28:58 +00:00
Yarik Briukhovetskyi
e7dbe50ad7
Update FunctionBinaryArithmetic.h
2023-08-04 15:54:44 +02:00
Yarik Briukhovetskyi
777e575b31
Update src/Functions/FunctionBinaryArithmetic.h
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-08-04 15:27:26 +02:00
yariks5s
ded98144cb
Merge branch 'add_arrays' of github.com:yariks5s/ClickHouse into add_arrays
2023-08-04 12:43:10 +00:00
yariks5s
699be8ce71
changed suggestions
2023-08-04 12:43:02 +00:00
ltrk2
6dc74fb5cc
Implement big-endian support for transform
2023-08-03 12:39:28 -07:00
Yarik Briukhovetskyi
da7f71d761
Update FunctionBinaryArithmetic.h
2023-08-03 17:20:16 +02:00
yariks5s
e9872d0e72
fixed issues
2023-08-03 14:44:14 +00:00
ltrk2
a29b36612b
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-03 09:41:25 -04:00
ltrk2
84a77d1c21
Merge branch 'master' into feature/mergetree-checksum-on-big-endian
2023-08-03 09:41:16 -04:00
Yarik Briukhovetskyi
0fbd2bb802
Update FunctionBinaryArithmetic.h
2023-08-02 20:19:08 +02:00
yariks5s
fe09a36f44
fixed fuzzer
2023-08-02 18:07:54 +00:00
Yarik Briukhovetskyi
98ecf7d43e
Update src/Functions/FunctionBinaryArithmetic.h
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-08-02 18:40:33 +02:00
Yarik Briukhovetskyi
cd9bb8126a
Update src/Functions/FunctionBinaryArithmetic.h
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-08-02 18:40:22 +02:00
ltrk2
3eeaf7af22
Fix build error
2023-08-02 16:08:53 +00:00
ltrk2
27a2d4d1c7
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-02 11:36:43 -04:00
Yakov Olkhovskiy
858150ae98
Merge branch 'master' into nullable-num-intdiv
2023-08-02 09:46:31 -04:00
Yarik Briukhovetskyi
e7392a359e
Merge branch 'master' into array_intersect_order
2023-08-02 15:27:38 +02:00
vdimir
078eadc473
Merge pull request #52712 from ClibMouse/feature/hashing-big-endian-support
2023-08-02 11:09:03 +02:00
flynn
be0c5bf10a
Use concepts to replace more std::enable_if_t
...
fix
2023-08-02 07:50:25 +00:00
Yakov Olkhovskiy
357fee99ff
Merge pull request #52791 from zvonand/zvonand-float-parsing
...
Add option to switch float parsing methods
2023-08-02 00:23:23 -04:00
李扬
041af6899d
Merge branch 'master' into starts_ends_with_utf8
2023-08-02 10:29:29 +08:00
ltrk2
323aa9f183
Merge branch 'master' into feature/hashing-big-endian-support
2023-08-01 13:09:43 -04:00
zvonand
490554eb4f
simplify
2023-08-01 18:29:44 +02:00
Kruglov Pavel
8f6526a930
Merge branch 'master' into structure-to-schema
2023-08-01 16:22:14 +02:00
zvonand
9ab875f5ad
add explicit nullptr for now
2023-08-01 11:38:15 +02:00
Andrey Zvonov
99cd8f9ba9
Merge branch 'master' into zvonand-float-parsing
2023-07-31 23:43:24 +03:00
ltrk2
f2fd1da891
Fix a build error
2023-07-31 19:13:27 +00:00
zvonand
2088f846ad
update as per reviews
2023-07-31 16:26:18 +02:00
yariks5s
af60b4bb31
fixed style check
2023-07-31 10:29:15 +00:00
zvonand
0ff0a4e41f
diverge parsing methods
2023-07-30 19:42:10 +02:00
Anton Popov
5cb3e4f879
Merge branch 'master' into fix-crash-sparse-tuple
2023-07-30 15:18:58 +02:00
Yakov Olkhovskiy
1ee1ae120e
add modulo, intDiv, intDivOrZero for tuple
2023-07-29 02:03:21 +00:00
ltrk2
6c9a1b14ef
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-28 16:18:46 -04:00
yariks5s
e0e6472195
changed tests, imporved code and exceptions
2023-07-28 15:50:22 +00:00
Kruglov Pavel
3e1c409e60
Merge branch 'master' into structure-to-schema
2023-07-28 11:32:16 +02:00
李扬
d0c9425711
Merge branch 'master' into starts_ends_with_utf8
2023-07-28 10:03:39 +08:00
ltrk2
5bd670d8c6
Improve endianness-independent support for hash functions
2023-07-27 15:58:46 -07:00
Yakov Olkhovskiy
565204f491
Merge branch 'master' into fix-nullable-ipv4-intdiv
2023-07-27 17:34:53 -04:00
yariks5s
bae407e958
fixed checks
2023-07-27 12:48:36 +00:00
Anton Popov
541a253580
fix crash with function tuple and one sparse argument
2023-07-27 12:43:38 +00:00
yariks5s
e749938e92
fixed test
2023-07-27 12:07:34 +00:00
robot-ch-test-poll2
7bcef0a6c0
Merge pull request #52520 from zvonand/revert-52450-remove-to-decimal-string
...
Fix `toDecimalString` function
2023-07-27 00:18:36 +02:00
yariks5s
dc5cc0a541
fixed check
2023-07-26 16:23:17 +00:00
yariks5s
adb46fa174
Revert "Implemented requested changes"
...
This reverts commit db4735a105
.
2023-07-26 15:20:54 +00:00
Yarik Briukhovetskyi
90e2c0247d
Merge branch 'master' into add_arrays
2023-07-26 17:04:53 +02:00
yariks5s
f8200e50cb
added impl
2023-07-26 15:00:25 +00:00
taiyang-li
27f3c5cfa2
change as requested
2023-07-26 10:53:07 +08:00
Alexey Milovidov
7ac5c421ad
Merge pull request #49343 from ClickHouse/sleep-each-row-max-time
...
Merging #34909
2023-07-26 00:03:27 +03:00
Nikita Mikhaylov
1dc9ca2c24
Merge pull request #52549 from ClickHouse/whitespace-before-comma
...
Check for punctuation
2023-07-25 20:30:36 +02:00
zvonand
4f7bdf308d
add explicit else
2023-07-25 18:57:54 +02:00
zvonand
2cc1ac45dd
update missed error
2023-07-25 18:45:56 +02:00
robot-ch-test-poll1
49a60b27a0
Merge pull request #51076 from priera/50727_currentDatabase_alias
...
#50727 new alias for current_database and added current_schemas
2023-07-25 18:22:48 +02:00
Yakov Olkhovskiy
e133db7937
Merge pull request #51472 from bigo-sg/substring_index
...
Add function substring_index, as in spark or mysql
2023-07-25 08:43:13 -04:00
Andrey Zvonov
155b90c780
oops
2023-07-25 13:47:59 +03:00
Andrey Zvonov
15b3a637e9
Merge branch 'master' into revert-52450-remove-to-decimal-string
2023-07-25 13:21:00 +03:00
zvonand
6b8752f293
fix error message
2023-07-25 12:19:35 +02:00
zvonand
d500e75569
fix
2023-07-25 12:07:47 +02:00
taiyang-li
acb33c1d81
fix code style
2023-07-25 15:39:49 +08:00
taiyang-li
a5d7391fbf
add new function startsWithUTF8 and endsWithUTF8
2023-07-25 15:34:38 +08:00
Alexey Milovidov
21382afa2b
Check for punctuation
2023-07-25 06:10:04 +02:00
Alexey Milovidov
90a6a018b0
Merge branch 'master' into 50727_currentDatabase_alias
2023-07-25 06:51:28 +03:00
Alexey Milovidov
fbcc06685b
Merge pull request #51367 from ClickHouse/remove-wrong-code
...
Attempt to remove wrong code (catch/throw in Functions)
2023-07-25 05:44:22 +03:00
Alexey Milovidov
813efa31ad
Merge pull request #52513 from ClickHouse/fix-transform-2
...
Fix abort in function `transform`
2023-07-25 05:37:17 +03:00
Alexey Milovidov
654af41431
Fix race
2023-07-24 19:45:55 +02:00
Alexey Milovidov
22a2fa097f
Improve error messages
2023-07-24 19:40:02 +02:00
Alexey Milovidov
b9375782bd
Merge branch 'master' into remove-wrong-code
2023-07-24 19:34:01 +02:00
Alexey Milovidov
12b5c0dde7
Merge branch 'master' into sleep-each-row-max-time
2023-07-24 18:10:38 +02:00
Alexey Milovidov
01993bef5b
Merge pull request #52489 from ClickHouse/incbin
...
Faster startup of clickhouse-client and clickhouse-local
2023-07-24 18:42:24 +03:00
Andrey Zvonov
21097209d2
Revert "Remove toDecimalString
"
2023-07-24 15:41:21 +03:00
Alexey Milovidov
890a3754a6
Fix error
2023-07-24 08:19:46 +02:00
Alexey Milovidov
ceaaa78fdc
Fix transform
2023-07-24 08:04:38 +02:00
Alexey Milovidov
169b9d5cc0
Fix tidy
2023-07-24 05:49:06 +02:00
Alexey Milovidov
e87f976f2b
Merge branch 'master' into remove-wrong-code
2023-07-24 05:48:06 +02:00
Alexey Milovidov
a17652a422
Merge branch 'master' into incbin
2023-07-24 05:33:52 +02:00
Alexey Milovidov
5c15e6021b
Merge branch 'master' into remove-to-decimal-string
2023-07-24 01:51:43 +02:00
robot-clickhouse-ci-2
66c0015b87
Merge pull request #52050 from arenadata/ADQM-982
...
Subsequence string matching (new hasSubsequence() function)
2023-07-23 21:18:27 +02:00
Alexey Milovidov
49f4ef6ffb
Fix typo
2023-07-23 20:11:24 +02:00
Alexey Milovidov
311b3adf89
Fix fasttest
2023-07-23 20:10:41 +02:00
Alexey Milovidov
e56e1ebd5d
Fix fasttest
2023-07-23 18:29:07 +02:00
Alexey Milovidov
8902bbdb60
Fix fasttest
2023-07-23 17:59:49 +02:00
Alexey Milovidov
f6a20f4d05
Merge branch 'master' into remove-wrong-code
2023-07-22 20:23:33 +02:00
Alexey Milovidov
88cd1851f0
Merge pull request #52448 from ClickHouse/fix-terrible-trash
...
The implementation of AnyHash was non-conformant.
2023-07-22 19:13:36 +03:00
Alexey Milovidov
36815363a6
Merge pull request #52449 from ClickHouse/remove-hashid
...
Remove `hashid`
2023-07-22 19:12:44 +03:00
Alexey Milovidov
a57fc914e0
Merge pull request #52466 from ClickHouse/revert-52206-aiven-sal/siphash_fix_pr
...
Revert "Re-add SipHash keyed functions"
2023-07-22 19:10:23 +03:00
Alexey Milovidov
5f4756fb33
Remove toDecimalString
2023-07-22 04:54:58 +02:00
Alexey Milovidov
4d0b75ebdd
Remove hashid
2023-07-22 04:42:16 +02:00
Alexey Milovidov
d2b178536e
Fix terrible trash
2023-07-22 04:38:16 +02:00
Alexey Milovidov
7cc3372355
Fix terrible trash
2023-07-22 04:30:09 +02:00
Alexey Milovidov
e68234a231
Revert "Re-add SipHash keyed functions"
2023-07-22 04:45:50 +03:00
Alexey Milovidov
91fd286165
Merge branch 'master' into sleep-each-row-max-time
2023-07-22 02:25:03 +02:00
Alexander Gololobov
cb53d762ea
Fix one more case
2023-07-21 15:23:24 +02:00
ltrk2
90a2c460c6
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-07-21 08:07:18 -04:00
serxa
8970a53145
Fix countSubstrings()
hang with empty needle and a column haystack
2023-07-21 11:38:46 +00:00
avogar
710e9a817d
Fix tests
2023-07-20 12:59:05 +00:00
Nikita Mikhaylov
b14277773f
Merge pull request #52260 from ClickHouse/fix-s2
...
Better detecting of invalid S2 geo primitives
2023-07-20 14:25:44 +02:00
Alexey Milovidov
f4ec421292
Merge pull request #52106 from Lloyd-Pottiger/add-alias-for-today-and-now
...
Add alias for today(curdate/current_date) and now(current_timestamp)
2023-07-20 15:02:25 +03:00
Robert Schulze
e5f7890bb5
Merge pull request #52206 from aiven-sal/aiven-sal/siphash_fix_pr
...
Re-add SipHash keyed functions
2023-07-20 11:15:31 +02:00
Nikolay Degterinsky
cf54866aef
Merge pull request #51651 from Alex-Cheng/correct_exception_message
...
Correct an exception message in src/Functions/nested.cpp
2023-07-20 10:56:45 +02:00
ltrk2
51e2c58a53
Implement endianness-independent SipHash and MergeTree checksum serialization
2023-07-19 10:01:55 -07:00
Han Fei
2675b8fa79
Merge pull request #52181 from arenadata/ADQM-868
...
Millisecond and microsecond support in date_diff / age functions
2023-07-19 17:41:23 +02:00
Nikita Mikhaylov
c8351b15c6
Merge branch 'master' into fix-s2
2023-07-19 15:44:13 +02:00
Nikita Mikhaylov
777026e42e
Fix test
2023-07-19 13:43:40 +00:00
avogar
da6a31bb62
Fix tests and style
2023-07-19 13:26:09 +00:00
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line
2023-07-19 11:10:13 +02:00
Salvatore Mesoraca
96f048f7f8
Convert output UInt128 to FixedString even if input is empty
2023-07-19 10:49:33 +02:00
Alex Cheng
f525d48a3a
Merge branch 'master' into correct_exception_message
2023-07-19 13:27:48 +08:00
Lloyd-Pottiger
fc7743ad68
Merge branch 'master' into add-alias-for-today-and-now
2023-07-19 10:20:11 +08:00
Alexey Milovidov
06914e8196
Merge branch 'master' into sleep-each-row-max-time
2023-07-18 22:06:27 +02:00
Dmitry Kardymon
4e1bdc7db9
Merge remote-tracking branch 'origin/master' into ADQM-868
2023-07-18 18:21:04 +00:00
avogar
b300781fd8
Make better, add tests
2023-07-18 17:48:39 +00:00
Alexey Milovidov
8d10dd71f7
Merge pull request #52172 from ClickHouse/fix-crash-query-analysis
...
Fix crash in comparison functions due to incorrect query analysis
2023-07-18 18:53:41 +03:00
Nikita Mikhaylov
a06631f0db
Better detecting invalid figures
2023-07-18 16:26:10 +02:00
Salvatore Mesoraca
f6bbc4bce9
Use getData instead of get64
2023-07-18 16:04:48 +02:00
Salvatore Mesoraca
5282fc2c34
Fix class name
2023-07-18 16:04:47 +02:00
avogar
67f340b501
Merge branch 'master' of github.com:ClickHouse/ClickHouse into structure-to-schema
2023-07-18 13:52:15 +00:00
zvonand
57501b9e1a
try remove outdated fix
2023-07-18 15:32:40 +02:00
pedro.riera
47370136e0
new alias for current_database and added current_schemas
2023-07-18 14:50:53 +02:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
...
Fixes #51172
2023-07-18 12:18:26 +03:00
Salvatore Mesoraca
693892801c
Re-add keyed SipHash and fix issues with current keyed hashes framwork
2023-07-18 10:29:50 +02:00
Mikhail Koviazin
562ea03ce7
FunctionsURL.h to StringHelpers.h and move out of URL/
2023-07-18 11:16:52 +03:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 10:29:49 +08:00
Alexey Milovidov
218a1c7eb8
Merge branch 'master' into fix-has-token
2023-07-18 03:05:28 +03:00
Alexey Milovidov
4b8aa3a012
Merge branch 'master' into fix-crash-query-analysis
2023-07-17 23:14:46 +03:00
Nikita Mikhaylov
d4c8383627
Merge pull request #52216 from ClickHouse/revert-51736-oss-fuzz-fixes
...
Revert "Fixed several issues found by OSS-Fuzz"
2023-07-17 17:19:18 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976
2023-07-17 16:24:11 +02:00
Nikita Mikhaylov
9a30aaa9aa
Revert "Fixed several issues found by OSS-Fuzz"
2023-07-17 16:14:58 +02:00
Yarik Briukhovetskyi
db4735a105
Implemented requested changes
2023-07-17 12:12:25 +00:00
Nikita Mikhaylov
d04f39370a
Merge branch 'master' into oss-fuzz-fixes
2023-07-17 13:41:54 +02:00
robot-ch-test-poll1
89a33c5879
Merge pull request #52176 from FFFFFFFHHHHHHH/add_length_alias
...
Add OCTET_LENGTH as an alias to length
2023-07-17 13:34:01 +02:00
Kruglov Pavel
df363f444e
Merge pull request #51767 from arenadata/Support-range-nullable
...
Support for function range of Nullable argument
2023-07-17 12:52:19 +02:00
Ilya Yatsishin
65eb937f68
Merge pull request #51765 from arenadata/ADQM-974
...
Allow toUInt128() for UUIDs
2023-07-17 12:50:37 +02:00
Dmitry Kardymon
2de9ea6925
Merge remote-tracking branch 'origin/master' into ADQM-982
2023-07-17 10:03:16 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now
2023-07-17 14:28:24 +08:00
FFFFFFFHHHHHHH
1cebf03cab
add length alias
2023-07-17 10:41:18 +08:00
FFFFFFFHHHHHHH
0895e47629
Merge branch 'master' into jaccard_similarity
2023-07-17 10:33:10 +08:00
Alexey Milovidov
34ec39234f
Fix crash in comparison functions due to incorrect query analysis
2023-07-17 01:40:02 +02:00
Alexey Milovidov
ac408d0b63
Add a check for hasToken
2023-07-17 00:10:42 +02:00
Dmitry Kardymon
a644317f57
Revert "Merge pull request #52129 from ClickHouse/revert-51291-ADQM-868"
...
This reverts commit 1b9bcae68e
, reversing
changes made to 7284749d05
.
2023-07-16 18:07:22 +00:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions"
2023-07-14 23:21:26 +03:00
Lloyd-Pottiger
c4dabd1aae
alias
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-14 13:53:29 +08:00
Yarik Briukhovetskyi
1d1f36beda
Merge branch 'master' into array_intersect_order
2023-07-12 15:01:28 +02:00
Dmitry Kardymon
fdcf434b43
Merge remote-tracking branch 'origin/master' into ADQM-974
2023-07-11 19:57:43 +00:00
Dmitry Kardymon
2a7bbf5d48
Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-11 19:56:22 +00:00
Dmitry Kardymon
2eccead2d4
Fix const(Nullable) case, add test
2023-07-11 16:27:28 +00:00
Yarik Briukhovetskyi
c8e7a84586
Merge branch 'master' into array_intersect_order
2023-07-11 14:51:18 +02:00
Robert Schulze
521c993eff
Merge branch 'master' into jaccard_similarity
2023-07-11 10:36:18 +02:00
Dmitry Kardymon
ae69627d87
Merge remote-tracking branch 'origin/master' into ADQM-982
2023-07-11 08:16:21 +00:00
Dmitry Kardymon
cfe846c2ec
Merge remote-tracking branch 'origin/master' into Support-range-nullable
2023-07-10 13:29:21 +00:00
Dmitry Kardymon
f12ccd76ef
Merge remote-tracking branch 'origin/master' into ADQM-974
2023-07-10 13:28:45 +00:00
Dmitry Kardymon
0cd4b753d6
Merge remote-tracking branch 'origin/master' into ADQM-976
2023-07-10 13:27:45 +00:00
Dmitry Kardymon
3237169c9a
Merge remote-tracking branch 'origin/master' into ADQM-868
2023-07-10 13:24:17 +00:00
Dmitry Kardymon
973c96c7ab
Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-10 13:22:26 +00:00
Dmitry Kardymon
66e759ec96
try to fix build again
2023-07-10 10:18:00 +00:00
Dmitry Kardymon
33405e70f2
Try to fix build
2023-07-10 10:01:26 +00:00
Dmitry Kardymon
4cd12a5053
Remove trailing whitespace
2023-07-10 09:33:53 +00:00
Dmitry Kardymon
17891ca1eb
Add case ins utf8 impl + tests
2023-07-10 09:18:09 +00:00
Dmitry Kardymon
ff4ec82342
Added hasSubsequenceUTF8 impl + tests
2023-07-10 07:29:31 +00:00
Alexey Milovidov
dd80bdb859
Merge pull request #51993 from azat/symbol-index-cleanup
...
Cleanup SymbolIndex after reload got removed
2023-07-10 00:58:16 +03:00
Han Fei
4f48d92db4
Merge branch 'master' into revert-51390-revert-50951
2023-07-09 15:16:50 +02:00
Azat Khuzhin
d520413454
Cleanup SymbolIndex after reload got removed
...
Remove MultiVersion for SymbolIndex structure since after #51873 it is
useless.
Follow-up for: #51873
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 09:25:11 +02:00
Alexey Milovidov
84600287a6
Merge pull request #50066 from bigo-sg/improve_geohash
...
Allow geoHashEncode when its arguments are mixed with const and non-const columns
2023-07-09 08:44:35 +03:00
Alexey Milovidov
58ee566278
Merge pull request #51964 from ClickHouse/allow-parametric-udfs
...
Allow parametric UDFs
2023-07-08 19:12:48 +03:00
Alexey Milovidov
fbdb8f387e
Merge pull request #51857 from ljhcage/master
...
remove duplicate condition
2023-07-08 02:49:32 +03:00
Alexey Milovidov
03d2606eb9
Merge pull request #49342 from ClickHouse/disks-space-improvement
...
Slight improvement in Disks interface
2023-07-08 02:24:57 +03:00
Alexey Milovidov
a96874850e
Revert "Merge pull request #48115 from save-my-heart/throw_non_parametric_function"
...
This reverts commit 5f930aeb26
, reversing
changes made to 35572321a1
.
2023-07-08 00:55:57 +02:00
Dmitry Kardymon
39d0b309bd
Make own function with slices
2023-07-07 13:15:26 +00:00
Alexey Milovidov
4a6a6fc4f2
Merge branch 'master' into disks-space-improvement
2023-07-07 13:43:04 +03:00
Robert Schulze
08b2441784
Merge branch 'master' into jaccard_similarity
2023-07-07 12:41:09 +02:00
Alexey Milovidov
0ad793ebb6
Merge branch 'master' into remove-wrong-code
2023-07-07 13:41:01 +03:00
Alexey Milovidov
69dc099dba
Merge branch 'master' into add-test-43358
2023-07-07 13:40:49 +03:00
Alex Cheng
b5ccc49b65
Merge branch 'master' into correct_exception_message
2023-07-07 14:39:25 +08:00
Dmitry Kardymon
7255c35edc
Add more tests
2023-07-06 19:43:37 +00:00
lcjh
7321f7e9dc
Merge branch 'master' into master
2023-07-07 00:31:47 +08:00
Alexey Milovidov
1fa21700ad
Merge remote-tracking branch 'origin/less-flaky-test_start_stop_moves' into many-fixes-3
2023-07-06 16:17:13 +02:00
Dmitry Kardymon
dee71d2e2f
Add first version of hasSubsequence()
2023-07-06 13:16:31 +00:00
Alexey Milovidov
2e454ef89e
Merge branch 'master' into disks-space-improvement
2023-07-06 03:58:45 +03:00
Alexey Milovidov
45db928e4e
Fix style
2023-07-06 02:52:55 +02:00
Alexey Milovidov
731dc1eba4
Merge branch 'master' into remove-wrong-code
2023-07-06 02:51:34 +02:00
Alexey Milovidov
d7782f6518
Merge branch 'fix_keyed_hash' of github.com:nickitat/ClickHouse into many-fixes-3
2023-07-06 02:47:51 +02:00
Alexey Milovidov
85e7d40755
Merge branch 'master' into add-test-43358
2023-07-06 02:20:28 +03:00
lcjh
ce8b0cae82
remove duplicate condition
2023-07-06 02:14:48 +08:00
yariks5s
cb872325a6
Merge branch 'master' into array_intersect_order
2023-07-05 20:05:44 +02:00
yariks5s
33f32684d4
fixed style check
2023-07-05 16:34:42 +00:00
yariks5s
7c84599764
removed unused includes
2023-07-05 15:46:46 +00:00
yariks5s
966f07bd8e
fixed tests and dealt with nulls
2023-07-05 15:42:49 +00:00
yariks5s
ba5e26aebf
need to deal with nulls
2023-07-05 10:49:32 +00:00
Han Fei
2e5643cc41
use UTC LUT
2023-07-05 11:57:18 +02:00
李扬
bb301cfbb0
Merge branch 'master' into improve_geohash
2023-07-05 17:57:03 +08:00
taiyang-li
d8a66a8123
fix asan error
2023-07-05 17:49:01 +08:00
Han Fei
9544c035b9
Revert "refine"
...
This reverts commit 7f1ee68c87
.
2023-07-05 11:15:31 +02:00
Alexey Milovidov
24b9c430f8
Continuation
2023-07-05 00:39:10 +02:00
Alexey Milovidov
2a6b5e4ec6
Fixed bad code
2023-07-04 23:28:45 +02:00
Alexey Milovidov
2460268e3c
Remove templates
2023-07-04 23:22:08 +02:00
Han Fei
7f1ee68c87
refine
2023-07-04 23:08:54 +02:00
Nikita Taranov
da105d4916
impl
2023-07-04 23:01:06 +02:00
Alexey Milovidov
6ec345db54
Merge branch 'master' into remove-wrong-code
2023-07-04 22:37:34 +02:00
Alexey Milovidov
4e8405cbda
Merge branch 'master' into disks-space-improvement
2023-07-04 22:00:40 +02:00
Alexey Milovidov
66b743f1e0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sleep-each-row-max-time
2023-07-04 21:13:23 +02:00
Dmitry Kardymon
99f02e0f6b
Add const to trying to fix build
2023-07-04 22:06:17 +03:00
Nikita Mikhaylov
673c30f717
Merge branch 'master' into oss-fuzz-fixes
2023-07-04 19:52:41 +02:00
Han Fei
ca6930eb11
Revert "Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix""
2023-07-04 17:38:53 +02:00
Dmitry Kardymon
99518f772c
Merge remote-tracking branch 'clickhouse/master' into Support-range-nullable
2023-07-04 13:05:19 +03:00
Dmitry Kardymon
2d904c9cc4
Merge remote-tracking branch 'clickhouse/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-04 08:21:48 +03:00
Dmitry Kardymon
ed16828b70
Merge remote-tracking branch 'clickhouse/master' into ADQM-868
2023-07-04 08:18:57 +03:00
Yakov Olkhovskiy
c3a2a3d4e8
Merge branch 'master' into fix-nullable-ipv4-intdiv
2023-07-03 19:07:44 -04:00
Alexey Milovidov
c25da7cbf4
Fix (benign) data rance in transform
2023-07-04 01:03:49 +02:00
Robert Schulze
29f93bd06d
More fixes, pt. II
2023-07-03 20:26:10 +00:00
Robert Schulze
9660291ab3
my fixes
2023-07-03 18:33:59 +00:00
Dmitry Kardymon
5b85e1ce8a
Special build check fix
2023-07-03 18:09:08 +00:00
Nikita Mikhaylov
af603c2cc6
Fixed stack overflow on Field destruction
2023-07-03 16:40:04 +02:00
Dmitry Kardymon
1a40e30797
Add initcapUtf8: impl + tests
2023-07-03 11:37:55 +00:00
yariks5s
2aa2f39e36
Not completed 'problem with offsets if the second array is smaller'
2023-07-03 11:14:56 +00:00
Robert Schulze
fe49e98455
Follow-up to re2 update 2023-06-02 ( #50949 )
2023-07-03 08:28:25 +00:00
FFFFFFFHHHHHHH
4089b6f69f
Merge branch 'master' into jaccard_similarity
2023-07-02 16:15:25 +08:00
FFFFFFFHHHHHHH
8c0463fdd4
fix
2023-07-02 16:14:08 +08:00
yariks5s
64d1f32edd
Not sending any result
2023-06-30 16:33:07 +00:00
Dmitry Kardymon
d6dacd3ccf
Fix test with num
2023-06-30 13:53:20 +00:00
Dmitry Kardymon
1cf021c0b1
Add initcap prototype / tests
2023-06-30 13:11:06 +00:00
Dmitry Kardymon
407a7e3cc5
Edit assert message
2023-06-30 09:55:55 +00:00
Dmitry Kardymon
8af96f7a17
Add uuid to uint128 converting
2023-06-30 09:49:29 +00:00
Alexey Milovidov
0f2d731f1b
Merge branch 'master' into add-test-43358
2023-06-30 12:17:52 +03:00
Alex Cheng
f497ba88c2
correct an exception message.
2023-06-30 14:52:47 +08:00
Yakov Olkhovskiy
bd29c0d6a2
cast IPv4 after Nullable is removed
2023-06-30 00:54:47 +00:00
Alexey Milovidov
cf60f45885
Merge branch 'master' into add-test-43358
2023-06-29 23:14:08 +03:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2
2023-06-29 22:36:33 +03:00
taiyang-li
95a9270b74
change as request
2023-06-29 10:54:40 +08:00
taiyang-li
b40cd4c539
Merge branch 'substring_index' of https://github.com/bigo-sg/ClickHouse into substring_index
2023-06-29 10:40:02 +08:00
李扬
3a01a859d9
Update src/Functions/substringIndex.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:39:25 +08:00
taiyang-li
9e34227fe9
change as requested
2023-06-29 10:39:20 +08:00
李扬
a35476ee13
Update src/Functions/substringIndex.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:48 +08:00
李扬
a005b5d0c8
Update src/Functions/substringIndex.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:39 +08:00
李扬
21ff69772c
Update src/Functions/substringIndex.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:28 +08:00
李扬
f049914c2f
Update src/Functions/substringIndex.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:19 +08:00
Robert Schulze
5b78b3903b
Fix logical error in tupleElement()
2023-06-28 18:35:33 +00:00
Robert Schulze
bf54fb4caa
tupleElement(): Return default value for out-of-bounds-index
...
Makes the actual and the documented behavior consistent.
2023-06-28 18:35:32 +00:00
Robert Schulze
eea3c39959
Cosmetics
2023-06-28 18:35:27 +00:00
Alexey Milovidov
7e6d606b1c
Remove bad code and fix a bug
2023-06-28 10:41:39 +02:00
李扬
748cd13fc3
Merge branch 'master' into improve_geohash
2023-06-28 15:02:05 +08:00
taiyang-li
70e49cb31c
add docs
2023-06-28 11:28:20 +08:00
taiyang-li
ae7a586aea
fix bugs and add uts
2023-06-28 10:45:52 +08:00
Ilya Yatsishin
d3b8b454f8
Fix segfault in MathUnary
2023-06-27 19:19:58 +02:00
Dmitry Kardymon
e34597e43d
Fix tabulation
2023-06-27 18:36:32 +03:00
taiyang-li
0de5fcfbee
finish dev
2023-06-27 18:13:25 +08:00
Alexey Milovidov
9ee0476d32
Update src/Functions/GregorianDate.h
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-06-27 11:59:01 +03:00
taiyang-li
bd0ce5fc0b
wip
2023-06-27 16:34:04 +08:00
Dmitry Kardymon
8ad1d4b94f
Add comment
2023-06-27 06:31:30 +00:00
Dmitry Kardymon
5a4a774db7
Style fix
2023-06-27 06:06:56 +00:00
Alexey Milovidov
b5635887c3
Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes
2023-06-27 05:39:44 +02:00
Alexey Milovidov
a686833f8e
Merge branch 'fix-logical-error-address-to-line-with-inlines' into many-fixes
2023-06-27 05:26:05 +02:00
Alexey Milovidov
4615aaacb6
Merge branch 'revert-50951' into many-fixes
2023-06-27 05:23:46 +02:00
Alexey Milovidov
d996dba7c3
Merge branch 'fix-msan-lower-upper' into many-fixes
2023-06-27 05:20:45 +02:00
Alexey Milovidov
1d55be0bdc
Merge branch 'replace-trycatch' of github.com:rschu1ze/ClickHouse into many-fixes
2023-06-27 05:19:06 +02:00
Alexey Milovidov
e81b418137
Merge branch 'remove-siphash64-reference-keyed' into many-fixes
2023-06-27 05:16:37 +02:00
Alexey Milovidov
93884f4d34
Merge branch 'generic-transform' into many-fixes
2023-06-27 05:16:16 +02:00
Dmitry Kardymon
5521bf3f35
Fix null constant case
2023-06-26 20:19:34 +00:00
Robert Schulze
45c263cbb5
Replace try/catch logic in hasTokenOrNull() by sth more lightweight
2023-06-26 15:06:58 +00:00
Dmitry Kardymon
7d4e7e320d
Impelement support for function range of Nullable argument
2023-06-26 12:03:25 +00:00
Dmitry Kardymon
c85ade9c27
Add const multiplier
2023-06-26 07:44:19 +00:00
李扬
0e15266170
Merge branch 'master' into improve_geohash
2023-06-26 14:54:44 +08:00
Alexey Milovidov
8e6f665585
Fix build
2023-06-26 05:57:38 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in
2023-06-26 06:05:12 +03:00
Alexey Milovidov
477b707ff1
Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"
...
This reverts commit 6bbd0d144d
, reversing
changes made to 74cb79769b
.
2023-06-26 02:02:24 +02:00
Alexey Milovidov
071cd58be8
Fix "logical error" in addressToLineWithInlines
2023-06-25 08:31:02 +02:00
Alexey Milovidov
650e80663c
Fix MSan report in lowerUTF8/upperUTF8
2023-06-25 05:59:02 +02:00
Alexey Milovidov
bd7913a227
Delete a line
2023-06-25 02:39:25 +02:00
Alexey Milovidov
207cd69957
Remove wrong code
2023-06-25 02:37:10 +02:00
Alexey Milovidov
3ed86867f8
Remove sipHash128ReferenceKeyed
2023-06-24 23:06:13 +02:00
Alexey Milovidov
a7febd1c13
Backward compatibility
2023-06-24 08:28:23 +02:00
Alexey Milovidov
ed3ead3493
Add support for Nullable
2023-06-24 07:23:17 +02:00
Alexey Milovidov
3746e274b8
Support empty arrays
2023-06-24 07:23:15 +02:00
Alexey Milovidov
cb2d395410
Add generic implementation of function transform
2023-06-24 06:52:28 +02:00
Alexey Milovidov
396eb70426
Remove garbage from function transform
2023-06-24 05:49:12 +02:00
Alexey Milovidov
786987a29a
Remove garbage from function transform
2023-06-24 05:49:12 +02:00
Yakov Olkhovskiy
09806bc363
Merge branch 'master' into cast-ipv6-to-ipv4
2023-06-23 10:53:46 -04:00
Dmitry Kardymon
2d11ce43f1
Build fix
2023-06-23 05:17:01 +00:00
Dmitry Kardymon
d2635bff64
Merge remote-tracking branch 'origin/master' into ADQM-868
2023-06-22 19:56:15 +00:00
Dmitry Kardymon
65e5d40cae
Fix formatDateTime() with fractional negative datetime64
2023-06-22 19:38:41 +00:00
avogar
03f820bc4a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into structure-to-schema
2023-06-22 18:46:01 +00:00
avogar
4060beae49
Structure to CapnProto/Protobuf schema take 1
2023-06-22 18:00:00 +00:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz
2023-06-22 17:23:20 +02:00
Nikolai Kochetov
22e49748b5
Cleanup.
2023-06-22 14:23:04 +00:00
Nikolai Kochetov
a940031878
Merge branch 'master' into refactor-subqueries-for-in
2023-06-22 12:18:48 +02:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
...
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
Alexey Milovidov
f0d93d5b60
Merge pull request #51199 from ClickHouse/empty_array_get_name
...
Avoid initializing DateLUT from emptyArray function registration
2023-06-21 20:29:28 +03:00
Alexander Gololobov
a708adecee
Pass element type as param to ctor
2023-06-21 14:04:45 +02:00
Andrey Zvonov
b4f2e4020d
Merge branch 'master' into zvonand-implicit-tz
2023-06-21 13:41:35 +02:00
Dmitry Kardymon
d58152cb82
Add constants / fix tests
2023-06-21 08:04:40 +00:00