loneylee
496c3acd1c
Merge branch 'ClickHouse:master' into master
2021-11-29 15:15:23 +08:00
loneylee
fb159c0227
fix pr's bug @31839
2021-11-29 15:14:27 +08:00
Alexey Milovidov
0e07fe1002
Fix error
2021-11-28 07:18:00 +03:00
Alexey Milovidov
e865b49293
Merge branch 'master' into fix-decrypt-nullable
2021-11-28 06:12:06 +03:00
vxider
98740eec2e
fix AST Fuzzer
2021-11-27 17:53:43 +00:00
vxider
d3a68c1498
update code style
2021-11-27 14:46:43 +00:00
vxider
f9a0b1aa13
fix AST Fuzzer
2021-11-27 08:38:53 +00:00
alexey-milovidov
d9292395e8
Merge pull request #31832 from ClickHouse/strange-code-typelist
...
Fix the issue that LowCardinality of Int256 cannot be created.
2021-11-27 00:36:56 +03:00
alexey-milovidov
75ac0f72bc
Merge pull request #31883 from CurtizJ/fix-empty-uuid
...
Fix function `empty` with `UUID` type
2021-11-27 00:23:47 +03:00
vxider
d95d181cbe
fix code style
2021-11-26 18:30:22 +00:00
Vxider
71d9d80275
timezone support for Tumble/Hop Start/End
2021-11-26 18:03:41 +00:00
Raúl Marín
051dddd8df
Reduce dependencies on ASTIdentifier.h
...
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
Anton Popov
7237343fd6
fix function 'empty' with uuid type
2021-11-26 17:39:29 +03:00
loneylee
56307bb2fa
issue #29730
2021-11-26 10:05:31 +08:00
kssenii
223048d395
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-26 01:06:06 +03:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
Maksim Kita
1fa57c96b2
FunctionsExternalDictionaries removed areTypesEqual
2021-11-25 19:06:37 +03:00
Kevin Michel
8356d44c70
Fix base64Encode returning corrupted data
...
The "fast" mode of turbo base64 seem to go too fast on small strings,
disabling the AVX2 optimisation for small string fixes the problem.
See the test named 02113_base64encode_trailing_bytes.sql for an example
of a failing case (only applies when running on a CPU with the AVX2
instruction set).
Ref. 15e044269d/turbob64.h (L106-L111)
2021-11-25 15:24:11 +01:00
Maksim Kita
a480eb89ef
Function dictGet with type Nullable fix
2021-11-25 17:06:35 +03:00
Alexey Milovidov
a4e57228cf
Add a test from #31662
2021-11-24 23:09:50 +03:00
Alexey Milovidov
bd1964a2eb
Fix exception on some of the applications of "decrypt" function on Nullable columns
2021-11-24 16:46:20 +03:00
yandd
7b43608e1f
Fixed function ngrams
2021-11-24 21:18:38 +08:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
...
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00
Alexey Milovidov
c5fcef03c3
Remove trash
2021-11-21 18:12:05 +03:00
Kruglov Pavel
d9c1a0c8ec
Merge branch 'master' into fix-write-buffers
2021-11-20 17:48:24 +03:00
kssenii
29978f9707
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-20 12:13:39 +03:00
kssenii
9bdad8ab64
Rewrite from DataStreams to Processors
2021-11-19 16:09:12 +03:00
kssenii
6a39d871b2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-18 17:29:11 +03:00
kssenii
11ab1f1ae5
Fix
2021-11-18 08:46:31 +00:00
kssenii
4016530b99
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into sql-json-fix-2
2021-11-18 08:33:50 +00:00
Kruglov Pavel
f27fcf8372
Merge pull request #31004 from Avogar/output-formats
...
Small refactoring in formats
2021-11-17 20:44:46 +03:00
avogar
c521a9131a
Small refactoring of WriteBiffer-s
2021-11-11 02:11:18 +03:00
mergify[bot]
4f6fd49266
Merge branch 'master' into fix_IP_conversion
2021-11-09 12:11:54 +00:00
Dmitry Novik
406bb4d997
Merge pull request #28965 from nicelulu/issues_28774
...
128bit hash-functions accepting arbitrary list of arguments
2021-11-09 14:40:25 +03:00
Anton Popov
66973a2a28
Merge remote-tracking branch 'upstream/master' into HEAD
2021-11-08 21:27:45 +03:00
kssenii
ab44123f49
Fix
2021-11-08 13:00:42 +03:00
kssenii
9cfa2c4578
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sql-json-fix-2
2021-11-04 13:04:00 +03:00
avogar
2dd4393ca1
Small refactoring in formats
2021-11-03 20:07:05 +03:00
kssenii
ae8a451cef
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sql-json-fix-2
2021-11-03 14:37:50 +03:00
Vitaly Baranov
1f217aeb5a
Merge pull request #30998 from vitlibar/rename-access-control-manager
...
Rename AccessControlManager
2021-11-03 12:20:17 +03:00
Anton Popov
2a617e6a5a
Merge pull request #31003 from kssenii/sql-json-fix
...
Allow spaces in JSONPath.
2021-11-03 00:59:54 +03:00
kssenii
79bb4fdba4
Fix
2021-11-02 21:57:36 +03:00
kssenii
01684ad05a
Fix
2021-11-02 16:53:47 +03:00
avogar
62c5951dd7
Fix segfault in formatRow function
2021-11-02 16:26:14 +03:00
Vitaly Baranov
afe2c9c040
Rename AccessControlManager -> AccessControl.
2021-11-02 14:06:20 +03:00
Vitaly Baranov
3ed7f8f0b3
Move access-rights' source files needed for parser to a separate target.
2021-11-01 19:13:49 +03:00
Anton Popov
d50137013c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-11-01 16:55:53 +03:00
Vladimir C
9d967e9883
Merge pull request #30840 from nickitat/nickitat_any_type_4_arrayStringConcat
2021-11-01 11:48:45 +03:00
alexey-milovidov
b18e5fcfe4
Merge branch 'master' into issues_28774
2021-10-31 15:07:26 +03:00
Kseniia Sumarokova
2050d0a33d
Merge pull request #30793 from lingtaolf/feature/function_mapExtractKeyLike
...
Add new function mapExtractKeyLike
2021-10-29 21:54:39 +03:00
凌涛
921bdbdd7d
Update src/Functions/map.cpp
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2021-10-29 14:51:34 +08:00
Nickita Taranov
734bb5b026
support any serializable column
2021-10-28 23:17:45 +03:00
alexey-milovidov
69bc2a8d2a
Merge pull request #30780 from ClickHouse/remove-cruft
...
Remove cruft
2021-10-28 17:42:18 +03:00
凌涛
39322cdbe2
add a new function mapExtractKeyLike
2021-10-28 17:15:32 +08:00
Kseniia Sumarokova
fba0e11cff
Merge pull request #29471 from lingtaolf/feature/fucntion-mapContainsKeyLike
...
New function `mapContainsKeyLike`
2021-10-28 09:21:51 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
凌涛
996706101d
optimized code
2021-10-27 19:53:53 +08:00
凌涛
d4d97d7b9a
add new function mapContainsKeyLike
...
fixed error because of inconsistent offsets
2021-10-27 00:06:01 +08:00
Nikolai Kochetov
36c3b1d5b1
Merge pull request #30639 from ClickHouse/fix-30545
...
Fix argument types for now and now64
2021-10-26 16:29:18 +03:00
Kseniia Sumarokova
377b937aa5
Merge pull request #30244 from evillique/fix_like_function
...
Fix `LIKE` function
2021-10-25 16:35:37 +03:00
Anton Popov
b87c819c10
Merge pull request #30566 from nickitat/nickitat_nullable_4_arrayStringConcat
...
Support Nullable(String) type in arrayStringConcat
2021-10-25 16:04:20 +03:00
Nikolai Kochetov
a0a5c1a21d
Fix argument types for now and now64
2021-10-25 12:06:53 +03:00
Nickita Taranov
877e8b579b
fix style
2021-10-24 14:45:12 +03:00
Nickita Taranov
2d23e3b17d
support for ColumnString
2021-10-22 18:53:02 +03:00
Nickita Taranov
a211c9ecbc
support nullable for ColumnConst
2021-10-22 18:52:59 +03:00
mergify[bot]
86e1bb6b55
Merge branch 'master' into fix_like_function
2021-10-21 12:24:28 +00:00
Kruglov Pavel
27e8a83269
Merge pull request #30426 from amosbird/jsonextractstring3
...
JSONExtractString raw string support.
2021-10-21 12:29:11 +03:00
Kseniia Sumarokova
feeb572219
Merge pull request #30474 from kssenii/sql-json-fix
...
sql json change order of arguments
2021-10-21 09:47:12 +03:00
Kseniia Sumarokova
5544e866f8
Merge pull request #30219 from lhuang09287750/master
...
make date32 type comparable with date/datetime/string
2021-10-21 09:38:55 +03:00
kssenii
c96b884951
Fix
2021-10-20 20:47:34 +00:00
Anton Popov
78c925ddef
Merge pull request #30177 from CurtizJ/initializeAggregation-nullable
...
Support nullable arguments in function `initializeAggregation`
2021-10-20 15:39:07 +03:00
Amos Bird
ddcf12c83b
JSONExtractString raw string support.
2021-10-20 17:57:14 +08:00
lhuang0928
008a13df8b
fix date32 comparison with datetime/datetime64
2021-10-20 03:36:07 +00:00
Nikita Mikhaylov
1114d06bc0
Done
2021-10-19 12:11:18 +00:00
Vladimir C
49685f0b9a
Merge pull request #30292 from Joeywzr/trim_dev
2021-10-19 14:49:43 +03:00
Nikolay Degterinsky
f861da2dd1
Fix [I]LIKE function
2021-10-18 17:19:02 +03:00
Anton Popov
d71ffc355a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-18 15:18:22 +03:00
lhuang0928
109e664188
fix date32 comparison with datetime/datetime64
2021-10-18 08:53:25 +00:00
Nikolai Kochetov
bfcbf5abe0
Merge branch 'master' into removing-data-streams-folder
2021-10-17 10:42:37 +03:00
WangZengrui
131aa77017
fix style
2021-10-17 11:21:58 +08:00
alexey-milovidov
3e9cf0b5ba
Merge pull request #30243 from Algunenano/multiIf_shortcircuit_fix
...
Fix crash with shortcircuit and LowCardinality in multiIf
2021-10-17 06:16:09 +03:00
WangZengrui
bd2c016cf3
fix bug
2021-10-17 00:33:57 +08:00
WangZengrui
1541593b2f
add notes
2021-10-16 23:28:29 +08:00
WangZengrui
6752be4c4e
fix bug and add test
2021-10-16 23:11:45 +08:00
WangZengrui
8a94e26bec
init
2021-10-16 18:51:42 +08:00
Nikolai Kochetov
067eaadadd
Merge branch 'master' into removing-data-streams-folder
2021-10-16 09:46:05 +03:00
Maksim Kita
a35d7096d8
Added concept HasIndexOperator
2021-10-15 23:26:09 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
Raúl Marín
01fbd52758
Fix crash with shortcircuit and locardinality in multiIf
2021-10-15 18:52:23 +02:00
Maksim Kita
a744097fb6
Fixed build
2021-10-15 15:34:13 +03:00
Maksim Kita
65aec857ec
FunctionsJSON updated
2021-10-15 13:12:59 +03:00
lhuang09287750
766e08567c
complete date32 comparison with date/datetime/string and give a test file
2021-10-15 08:09:37 +00:00
Azat Khuzhin
07adc847db
Fix clang-tidy warnings in FunctionsJSON code
2021-10-15 10:11:03 +03:00
Maksim Kita
5568461acf
FunctionsJSON move to cpp file
2021-10-14 23:10:53 +03:00
Anton Popov
7aa6068fb2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-14 19:44:08 +03:00
Maksim Kita
04e07ed86d
FunctionsJSON avoid copying object element during iteration
2021-10-14 16:37:52 +03:00
Maksim Kita
4ed28d8e52
Merge pull request #29981 from kitaisreal/added-function-tokens
...
Added function tokens
2021-10-14 15:36:06 +03:00
Anton Popov
4d020c96e0
support nullable arguments in function initializeAggregation
2021-10-14 15:09:06 +03:00
Maksim Kita
562c8984a4
Added documentation
2021-10-14 13:15:45 +03:00
Maksim Kita
6c6dd7a0c8
Merge pull request #30056 from orloffv/orloffv.JSONExtractKeys
...
Add JSONExtractKeys function
2021-10-14 12:50:19 +03:00
Maksim Kita
66f2163b60
Added function tokens
2021-10-14 00:08:15 +03:00
Vitaly Orlov
1623bfa1a2
review fixes
2021-10-13 09:55:35 +03:00
Vitaly Orlov
4d2b34a7f0
Review fixes
2021-10-13 00:08:00 +03:00
Vitaly Orlov
65c6605c2c
Add JSONExtractKeys function
2021-10-12 18:00:25 +03:00
Nikita Mikhaylov
7c67d764c0
Merge pull request #29934 from ClickHouse/remove-bayes-ab
...
Remove function bayesAB
2021-10-12 18:00:25 +03:00
Nikita Mikhaylov
5bf64c62c2
Delete test
2021-10-12 10:19:21 +00:00
Kseniia Sumarokova
b2f8cd07e6
Update normalizeString.cpp
2021-10-12 12:54:02 +03:00
Vladimir C
969999ff10
Merge pull request #29544 from Algunenano/join_deadlock
2021-10-12 12:34:04 +03:00
Maksim Kita
ec898f1a94
Merge pull request #28633 from darkkeks/normalize-utf8-nfc
...
Add normalizeUTF8 function with NFC normalization
2021-10-12 12:25:07 +03:00
Alexey Milovidov
2370a8d6da
Fix PVS-Studio
2021-10-11 14:28:46 +03:00
Vladimir C
dc4bb920d3
Merge branch 'master' into join_deadlock
2021-10-11 10:18:17 +03:00
zhangxiao871
0a2cc1f96e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master
2021-10-11 11:53:09 +08:00
zhangxiao871
e1c3f2dd48
RollBack murmurHash3_32 murmurHash3_64
2021-10-11 11:50:43 +08:00
Alexey Milovidov
2a20bf4909
Remove function bayesAB #26233
2021-10-10 04:16:32 +03:00
Azat Khuzhin
cc1fbe27a7
Fix build due to conflicts in serverConstants
...
Refs: #29755
Refs: #29913
2021-10-10 03:40:51 +03:00
Maksim Kita
daf9cf12d9
Merge pull request #29755 from Joeywzr/new_func
...
add function getOSKernelVersion
2021-10-10 01:12:54 +03:00
Maksim Kita
889034f6c2
Merge pull request #29913 from amosbird/refactor1
...
Cosmetic refactoring of server constants.
2021-10-09 19:59:27 +03:00
WangZengrui
96a9d99ab6
add test
2021-10-09 19:53:21 +08:00
WangZengrui
2204597cfe
add FunctionOSKernelVersion
2021-10-09 16:49:49 +08:00
Amos Bird
89a52930c6
Cosmetic refactoring of server constants.
2021-10-09 11:47:27 +08:00
Alexey Boykov
41f4b0b69f
Merge branch 'master' into get_fuzz_data
2021-10-07 14:50:44 +03:00
Anton Popov
4bc14dedfb
Merge pull request #28352 from Avogar/div-null
...
Avoid division by zero when denominator is Nullable
2021-10-07 14:47:53 +03:00
nicelulu
7d74f26ce9
128bit hash-functions accepting arbitrary list of arguments
...
add sipHash128 return UInt128.
better test.
better combineHashes
better test
Fix build
2021-10-07 19:25:39 +08:00
Kruglov Pavel
13b2fdc23b
Merge pull request #29659 from amosbird/jsonfix3
...
Fix nullable processing in JSONFunctions
2021-10-07 13:55:22 +03:00
Maksim Kita
4ec7311d4d
Merge pull request #29738 from kitaisreal/added-function-ngram
...
Added function ngram
2021-10-07 10:21:00 +03:00
avogar
568e27e9b3
Fix tests
2021-10-07 00:19:37 +03:00
Maksim Kita
b7b39da8cc
Fixed build
2021-10-06 23:22:29 +03:00
Amos Bird
a34a08268b
Fix nullable processing in JSONFunctions
2021-10-07 02:26:50 +08:00
Amos Bird
a391b64f57
Revert "Merge pull request #29746 from azat/JSONExtract-Null-fix"
...
This reverts commit e990f35ba3
, reversing
changes made to 8e03e0127a
.
2021-10-07 02:26:32 +08:00
mergify[bot]
5b667d3cd5
Merge branch 'master' into fix_IP_conversion
2021-10-06 16:40:47 +00:00
Maksim Kita
33353be4ed
Fixed tests
2021-10-06 15:12:07 +03:00
Maksim Kita
d2b3f3bd11
Merge pull request #29796 from kitaisreal/function-reinterpet-as-improve-readability
...
Function reinterpretAs improve readability
2021-10-06 13:44:24 +03:00
avogar
5e4cda02b6
Fix build
2021-10-06 13:38:22 +03:00
Maksim Kita
490ef61a03
Function reinterpretAs improve readability
2021-10-06 11:43:11 +03:00
Anton Popov
199ac31b48
Merge pull request #29683 from myrrc/improvement/tl-to-common
...
Non-recursive implementation for type list and its functions
2021-10-05 21:49:15 +03:00
Kruglov Pavel
fa81606d6a
Fix build
2021-10-05 20:11:21 +03:00
Mike Kot
25a62b9f83
Renaming TL to Typelist
2021-10-05 17:22:02 +02:00
avogar
c2cb9e2721
Fix use of unititialized value
2021-10-05 11:55:26 +03:00
Azat Khuzhin
20e706766c
Forbid Nullable for JSONExtract* (JSONExtract() still supports Nullable)
...
Only JSONExtract() can support Nullable, others JSONExtract*
(JSONExtractString and similar) does not.
And right now this file is pretty complex already,
so adding support of Nullable for others will make it even more complex.
CI: https://clickhouse-test-reports.s3.yandex.net/29680/d0fc26f91a0141b56a0550741219c3dc43630e03/fuzzer_ubsan/report.html#fail1
2021-10-04 21:08:02 +03:00
Maksim Kita
3fe9fdac96
Added function ngram
2021-10-04 18:53:17 +03:00
avogar
2523053b27
Remove code duplication, fix bug, add more tests
2021-10-04 18:22:06 +03:00
Pavel Kruglov
ae2754ee56
Fix tests, add comments
2021-10-04 16:44:38 +03:00
Pavel Kruglov
2c4453f425
Rename template argument
2021-10-04 16:44:38 +03:00
Pavel Kruglov
82d17870f1
Avoid division by zero when denominator is Nullable
2021-10-04 16:44:38 +03:00
Nikolay Degterinsky
345ac59f46
Merge pull request #29552 from MaxWk/conversion-between-date32-and-datetime64
...
Support conversion between date32 and datetime64
2021-10-04 12:43:56 +03:00
alexey-milovidov
6abb3d4c6d
Merge pull request #29682 from traceon/xcode-13-fix-build
...
Fix Xcode 13 build
2021-10-04 02:34:43 +03:00
Mike Kot
8c8bada56e
Non-recursive implementation for TL and its functions
2021-10-03 18:02:04 +02:00
Denis Glazachev
ca7b69b0f3
Manipulate with -Wreserved-identifier only if HAS_RESERVED_IDENTIFIER has been detected
2021-10-03 17:42:36 +04:00
alexey-milovidov
ac57e057a1
Merge pull request #23028 from ClickHouse/cast_to_value_or_default
...
Merging #21330
2021-10-03 11:00:48 +03:00
Alexey Milovidov
7269b20ecc
Fix issue: clickhouse-format --obfuscate cannot process queries with embedded dictionaries
2021-10-03 00:46:51 +03:00