Salvatore Mesoraca
59c17a7719
functions: hashing: add sipHash{64,128}Keyed
2023-01-27 13:00:54 +01:00
Salvatore Mesoraca
31e4d042f8
function: hashing: add generic support for keyed algos
2023-01-27 13:00:53 +01:00
Alexey Milovidov
5b257ab806
Merge pull request #45233 from ClickHouse/improve_week_day
...
Revert "Revert "Improve week day""
2023-01-27 02:44:17 +03:00
Alexander Tokmakov
68a60ad4f6
fix
2023-01-26 20:20:56 +01:00
Alexander Tokmakov
d7c697ee38
fix
2023-01-26 15:24:39 +01:00
Alexander Tokmakov
14db798191
fix
2023-01-26 13:56:16 +01:00
Alexander Tokmakov
a584ad0eb1
forbid runtime strings
2023-01-26 10:52:47 +01:00
Alexander Tokmakov
9b670946db
Merge branch 'master' into exception_message_patterns5
2023-01-26 00:41:32 +01:00
Nikolay Degterinsky
d8d85d9bbd
Merge remote-tracking branch 'upstream/master' into fix-msan-build
2023-01-24 22:57:47 +00:00
Nikolay Degterinsky
fb6838b043
Review suggestions
2023-01-24 22:54:01 +00:00
Alexander Tokmakov
dceeae995e
Merge branch 'master' into exception_message_patterns4
2023-01-24 23:22:38 +01:00
Robert Schulze
7f010d2b61
Merge pull request #45522 from HarryLeeIBM/hlee-s390x-transform
...
Fix endian issue in transform function for s390x
2023-01-24 22:12:25 +01:00
Alexander Tokmakov
dd57215934
Merge branch 'master' into exception_message_patterns4
2023-01-24 17:03:12 +01:00
Kseniia Sumarokova
dd18dd2953
Merge pull request #45341 from ClibMouse/feature/non-throwing-hastoken
...
Introduce non-throwing variants of hasToken
2023-01-24 15:37:36 +01:00
Alexander Tokmakov
6ecae8388e
Merge branch 'master' into exception_message_patterns4
2023-01-24 14:42:36 +01:00
Nikolai Kochetov
e4c0608a01
Merge pull request #45150 from ClickHouse/fix-ip-function-mod
...
Binary arithmetic for IPv4
2023-01-24 13:11:02 +01:00
ltrk2
ee5818f27b
Fix the build with ENABLE_VECTORSCAN disabled
2023-01-23 16:43:03 -08:00
Alexander Tokmakov
414693feb2
fixes
2023-01-24 00:46:03 +01:00
ltrk2
9710b8643c
Refine the solution
2023-01-23 14:27:48 -08:00
Alexander Tokmakov
bb4c8e169f
check number of parameters in format string
2023-01-23 23:16:16 +01:00
Alexander Tokmakov
3f6594f4c6
forbid old ctor of Exception
2023-01-23 22:18:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
HarryLeeIBM
61f55ebb8a
Fix endian issue in transform function for s390x
2023-01-23 11:54:35 -08:00
Nikolay Degterinsky
f9960361db
Fix MSan build
2023-01-23 14:38:07 +00:00
Robert Schulze
97d1bed114
Merge branch 'master' into improve_week_day
2023-01-21 20:40:33 +01:00
Alexander Tokmakov
910d6dc0ce
Merge pull request #45342 from ClickHouse/exception_message_patterns
...
Save message format strings for DB::Exception
2023-01-20 18:46:52 +03:00
ltrk2
810c9ba50c
Produce a null map of the correct size
2023-01-20 10:24:42 -05:00
ltrk2
9d798ea1bc
Document functions
2023-01-20 10:24:42 -05:00
ltrk2
65b9c69c90
Introduce non-throwing variants of hasToken
2023-01-20 10:24:42 -05:00
Alexander Tokmakov
ec5d7d0a3a
Update src/Functions/FunctionsConversion.h
...
Co-authored-by: Alexander Gololobov <440544+davenger@users.noreply.github.com>
2023-01-20 17:33:01 +03:00
taiyang-li
01048c6568
change as request
2023-01-20 17:05:28 +08:00
Anton Popov
089d1f5b62
fix fuzzer
2023-01-19 17:03:24 +00:00
Anton Popov
7f2e37860d
allow to convert float stored in string field to integer in JSONExtract
2023-01-19 14:24:55 +00:00
taiyang-li
8d63dc2608
fix tests
2023-01-18 20:13:26 +08:00
taiyang-li
1c120ee751
add fastpath for vectorConstant when needle is empty
2023-01-18 15:13:47 +08:00
Alexander Tokmakov
5cd90c1a3e
Merge branch 'master' into exception_message_patterns
2023-01-17 20:04:04 +01:00
Alexander Tokmakov
72e8615bec
formatting of some exception messages
2023-01-17 20:03:56 +01:00
Alexander Tokmakov
522686f78b
less empty patterns
2023-01-17 01:19:44 +01:00
Alexander Tokmakov
870cfcc36a
less fmt::runtime usages
2023-01-17 00:11:59 +01:00
Robert Schulze
ff493c439c
Merge pull request #45244 from bigo-sg/improve_like
...
Add fast path for col like '%%' or col like '%' or match(col, '.*')
2023-01-16 08:36:20 +01:00
taiyang-li
2f7ea79d94
change as request
2023-01-16 10:42:58 +08:00
Robert Schulze
bd41c74ddf
Various test, code and docs fixups
2023-01-15 13:47:34 +00:00
Robert Schulze
4ea836b87e
Revert "Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability""
...
This reverts commit e37f572c34
.
2023-01-13 14:00:16 +00:00
Robert Schulze
9779d034eb
Merge pull request #45144 from ClibMouse/crc-power-fix
...
Changes to support the CRC32 in PowerPC.
2023-01-13 11:24:18 +01:00
taiyang-li
de5474c9f9
optimize match(a, '.*')
2023-01-13 14:55:54 +08:00
taiyang-li
45df745011
add fast path for like '%%' or like '%'
2023-01-13 12:20:03 +08:00
Alexander Tokmakov
e37f572c34
Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability"
2023-01-12 15:01:36 +03:00
MeenaRenganathan22
28d5c3cf7f
Addressed the review comments
2023-01-11 17:00:10 -08:00
MeenaRenganathan22
5fa5ae8099
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into crc-power-fix
2023-01-11 09:31:41 -08:00
Robert Schulze
9bb1e31369
Merge pull request #44860 from bigo-sg/improve_week_day
...
update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability
2023-01-11 13:58:45 +01:00
Yakov Olkhovskiy
92caf20323
binary arithmetic for IPv4
2023-01-11 08:59:27 +00:00
MeenaRenganathan22
25c94dfa83
Changes to support the CRC32 in PowerPC to address the WeakHash collision issue. Update the reference to support the hash values based on the specific platform
2023-01-10 21:20:13 -08:00
Yakov Olkhovskiy
9e327306a3
Merge pull request #45043 from ClickHouse/fix-ip-function-hash
...
Fix hash functions for IPv4
2023-01-10 07:48:12 -05:00
taiyang-li
09c1cecb01
fix build error
2023-01-10 10:56:13 +08:00
Yakov Olkhovskiy
2559c49810
make only IPv4 as numeric, fix hash functions for IPv6, add more hash functions to test
2023-01-10 02:03:06 +00:00
Alexey Milovidov
d6748f9fae
Merge pull request #45065 from ClickHouse/fix-low-cardinality-in-nested-lambda-capture
...
Fix Cannot capture column for nested lambda with LowCardinality
2023-01-10 04:50:46 +03:00
Nikolai Kochetov
86324e231c
Fix Cannot capture column for nested lambda with LowCardinality
2023-01-09 14:57:09 +00:00
taiyang-li
4bc2c61406
change as request
2023-01-09 20:37:16 +08:00
taiyang-li
64bbdee824
fix stule
2023-01-09 19:36:51 +08:00
taiyang-li
20c7c0b1ef
change as request
2023-01-09 18:21:31 +08:00
Yakov Olkhovskiy
6ec1592a9f
fix hash functions for IPv4
2023-01-08 20:58:09 +00:00
Alexey Milovidov
13a045dce4
Fix bad code: postfix increment, multiple effects in one statement
2023-01-08 02:55:02 +01:00
Alexey Milovidov
56d8c4730e
Fix function range
2023-01-08 02:50:28 +01:00
Yakov Olkhovskiy
d77178194f
fix cutIPv6 function and IPv4 hashing
2023-01-07 21:48:02 +00:00
Anton Popov
1f32ffedf8
Merge pull request #43221 from ClickHouse/refactoring-ip-types
...
Replace domain IP types (IPv4, IPv6) with native
2023-01-07 12:01:21 +01:00
Yakov Olkhovskiy
1be48f706b
Merge pull request #43706 from ClibMouse/s390x_crc32
...
s390x weakhash32 support
2023-01-05 14:45:20 -05:00
Yakov Olkhovskiy
7a5a36cbed
Merge branch 'master' into refactoring-ip-types
2023-01-04 11:11:06 -05:00
Kruglov Pavel
59263f3ae1
Merge pull request #44501 from Avogar/validate-types
...
Validate data types according to settings.
2023-01-04 14:48:09 +01:00
Nikolay Degterinsky
aa41e9b775
Merge pull request #44857 from evillique/fix-msan-build
...
Try to fix MSan build
2023-01-04 04:31:28 +01:00
Alexey Milovidov
fb68fc1bee
Merge pull request #44870 from ClickHouse/fix_flaky_test
...
Fix flaky test and several typos
2023-01-04 05:14:14 +03:00
Alexey Milovidov
3a027d285f
Merge pull request #44828 from ClickHouse/remove-two-lines-of-code
...
What if I will remove two lines of code?
2023-01-04 04:50:52 +03:00
Kruglov Pavel
826d11bfb1
Merge branch 'master' into validate-types
2023-01-04 01:22:12 +01:00
Nikolay Degterinsky
fc54ee5faf
Add comment about the reason for a separate file
2023-01-03 19:43:25 +00:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code?
2023-01-03 18:35:31 +00:00
Alexey Milovidov
bdd3ef8920
Merge pull request #44830 from ClickHouse/fix-monotonicity-fuzz-2
...
Fix fuzzer report
2023-01-03 19:42:58 +03:00
alesapin
6c8dbcc040
Fix flaky test 01459_manual_write_to_replicas_quorum_detach_attach and several typos
2023-01-03 16:27:51 +01:00
Robert Schulze
421473e974
Merge pull request #44421 from ClickHouse/revert-of-revert-of-age-function
...
Revert revert of age function
2023-01-03 10:02:18 +01:00
Nikolay Degterinsky
c4431e9931
Fix MSan build
2023-01-03 02:21:26 +00:00
Alexey Milovidov
fcefaa602f
Fix error
2023-01-03 01:24:56 +01:00
Alexey Milovidov
fa16abe05e
Fix error
2023-01-03 01:23:57 +01:00
Alexey Milovidov
e855d3519a
Merge branch 'master' into refactoring-ip-types
2023-01-02 21:58:53 +03:00
Nikita Taranov
563b27f648
Provide monotonicity info for toUnixTimestamp64*
( #44116 )
...
* impl
* fix
2023-01-02 16:34:06 +01:00
Kruglov Pavel
0a43976977
Merge branch 'master' into validate-types
2023-01-02 16:10:14 +01:00
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
...
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Robert Schulze
24a3085251
Merge pull request #44527 from mrcrypster/patch-3
...
Fixed minor errors in functions docs
2023-01-02 15:05:59 +01:00
Robert Schulze
545576fe01
Merge pull request #43818 from bigo-sg/improve_from_unixtime
...
Add new functions to format datetime in joda datetime style
2023-01-02 13:41:50 +01:00
Alexey Milovidov
d95aca1b32
Fix fuzzer
2023-01-02 01:51:50 +01:00
Alexey Milovidov
e20eb570c5
Fix bad cast in monotonicity analysis
2023-01-01 20:42:15 +01:00
Kruglov Pavel
894726bd8f
Merge branch 'master' into improve-streaming-engines
2022-12-29 22:59:45 +01:00
taiyang-li
5ae280611b
merge master and solve conflict
2022-12-28 14:44:10 +08:00
avogar
411f98306a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into validate-types
2022-12-27 19:24:15 +00:00
Kruglov Pavel
f95eabc192
Merge pull request #44469 from Avogar/low-card-if
...
Don't execute and/or/if/multiIf on LowCardinality dictionary
2022-12-27 16:59:42 +01:00
Alexey Milovidov
3a4d4703d6
Fix "too large allocation" message from MSan
2022-12-26 21:21:58 +01:00
Alexander Gololobov
0788269c25
Merge pull request #44410 from ClickHouse/fix_unicode_bar
...
Fix buffer overrun in UnicodeBar::render
2022-12-23 13:17:24 +01:00
Denys Golotiuk
3d340efd7c
Fixed minor errors in functions docs
2022-12-23 12:05:04 +02:00
Duc Canh Le
188de7969a
fix error code
2022-12-23 10:25:37 +08:00
Duc Canh Le
475d06b216
Merge branch 'master' into ch_canh_fix_lc_in
2022-12-23 10:12:15 +08:00
Duc Canh Le
a3a601ff85
fix style
2022-12-23 10:06:43 +08:00
Dmitry Novik
cff882d506
Merge remote-tracking branch 'origin/master' into refector-function-node
2022-12-22 21:34:29 +00:00
Alexander Gololobov
0ae7f03516
Merge branch 'master' into fix_unicode_bar
2022-12-22 14:53:33 +01:00