凌涛
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
Maksim Kita
87bb596875
Fixed modelEvaluate
2021-10-02 17:15:32 +03:00
Maksim Kita
395119339f
Merge branch 'master' into rename-common
2021-10-02 17:15:10 +03:00
Alexey Milovidov
ed54a4c944
Fix build
2021-10-02 11:49:25 +03:00
Alexey Milovidov
922872fb9a
Move modelEvaluate function to its own file
2021-10-02 11:39:26 +03:00
Alexey Milovidov
2ad5dbdfe8
Rename "common" to "base"
2021-10-02 11:30:38 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Maksim Kita
fe6bb1bb1e
Fixed tests
2021-10-01 17:33:14 +03:00
Vladimir C
ec966b7df5
Merge pull request #27933 from mathalex/numeric_tuple_functions
2021-10-01 16:18:52 +03:00
Maksim Kita
b8702e613d
Fixed tests
2021-10-01 12:37:04 +03:00
Nikita Tikhomirov
37f76d60ff
Added MD4 and SHA384 functions. Refactoring the length of hashes in variables.
2021-10-01 04:19:50 +03:00
alexey-milovidov
3796ccb912
Merge pull request #29540 from myrrc/improvement/monotonicity-aggregate
...
Making Monotonicity an aggregate to use with designated initializers
2021-09-30 17:26:06 +03:00
Maksim Kita
c2407fee06
Fixed tests
2021-09-30 14:35:24 +03:00
MaxWk
3cbabe2c68
support conversion between date32 and datetime64
2021-09-30 15:09:36 +08:00
Alexey Boykov
780ad4a755
Merge branch 'ClickHouse:master' into get_fuzz_data
2021-09-30 01:38:03 +03:00
Alexey Boykov
192633cb9b
Merge branch 'ClickHouse:master' into numeric_tuple_functions
2021-09-30 01:37:37 +03:00
Raúl Marín
0ee5c0bff5
Use RWLock in StorageJoin to avoid deadlocks
2021-09-29 19:30:07 +02:00
Dmitry Novik
abdd8fb516
Cleanup
2021-09-29 19:42:41 +03:00
Mike Kot
61e0c6208b
Making Monotonicity an aggregate to use with designated initializers
2021-09-29 18:01:26 +02:00
Maksim Kita
a5151fb49b
Function accurateCastOrDefault updated implementation
2021-09-29 17:52:08 +03:00
Anton Popov
914781052e
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-29 17:37:07 +03:00
Vitaly Baranov
0c33f1121b
Merge pull request #28012 from amosbird/jsonextractstring2
...
Handle null column correctly in JSONFunction.
2021-09-29 14:58:40 +03:00
Maksim Kita
1e5e93830b
Merge branch 'master' into cast_to_value_or_default
2021-09-28 14:04:10 +03:00
Viachaslau Boben
762904adbd
Add nfd and perf test
2021-09-28 13:42:37 +03:00
Amos Bird
07a278e426
Better
2021-09-28 11:38:29 +08:00
Amos Bird
b25c3fb659
Handle null column correctly in JSONFunction
2021-09-28 11:38:29 +08:00
Pavel Kruglov
cc40e36514
Fix logical error in function greatest/least
2021-09-27 23:13:01 +03:00
Viachaslau Boben
b3325772f7
Add normalizeUTF8 function with NFC normalization
2021-09-27 18:47:43 +03:00
mergify[bot]
86eb589c72
Merge branch 'master' into fix_IP_conversion
2021-09-27 14:41:56 +00:00
Maksim Kita
92c484f0d3
Merge pull request #29252 from Enmk/fix_some_functions_exception_messages
...
Better exception messages for some String-related functions
2021-09-27 11:50:42 +03:00
Vasily Nemkov
2c6b9aa174
Better exception messages for some String-related functions
2021-09-26 08:18:37 +03:00
bharatnc
59dfc87113
Merge remote-tracking branch 'upstream/master' into ncb/fix-name-h3isResClassIII
2021-09-25 10:19:00 -07:00
bharatnc
2deb9643af
Rename h3ResIsClassIII -> h3IsResClassIII
2021-09-25 10:12:32 -07:00
Alexey Milovidov
cd7f9d981c
Remove ya.make
2021-09-25 04:22:54 +03:00
Maksim Kita
edeaa6d6d8
Function h3GetFaces optimization
2021-09-24 14:06:36 +03:00
bharatnc
b13edbfee8
Cast dst_data to ColumnUInt8
2021-09-23 12:37:12 -07:00
bharatnc
53a2ebead5
Use const auto * and &
2021-09-23 11:01:38 -07:00
bharatnc
f02d81be24
Merge remote-tracking branch 'upstream/master' into ncb/complete-h3-inspection-funcs
2021-09-23 08:59:39 -07:00
bharatnc
494c59d2c0
Add more review fixes for h3GetFaces
2021-09-23 08:58:53 -07:00
mergify[bot]
7025532b80
Merge branch 'master' into fix_IP_conversion
2021-09-23 15:56:59 +00:00
Alexey Boykov
a429cbe4c9
Style
2021-09-23 16:42:06 +03:00
Alexey Boykov
e0963c7666
Cosine null fix
2021-09-23 15:54:00 +03:00
bharatnc
727182c3a4
Add review fixes
2021-09-22 22:50:33 -07:00
Maksim Kita
c73808615b
Function has support map type
2021-09-22 19:08:08 +03:00
bharatnc
bdd9a4a352
Fix style check
2021-09-21 23:40:56 -07:00
bharatnc
208dfc998a
H3 - fix logic to return icosahedron faces
2021-09-21 17:39:59 -07:00
bharatnc
8203c5462a
Fix a small comment
2021-09-21 16:45:29 -07:00
bharatnc
32baa1ddae
Fix getH3Faces logic
2021-09-21 14:08:09 -07:00
Dmitry Novik
9049fd701f
Refactor ColumnStringHelpers
2021-09-21 17:27:34 +03:00
Vasily Nemkov
175b94fa2d
Special case of conversion code for types with custom serialization/deserialization
...
Fixes CASTing from String or FixedString to IPv4 or IPv6 and back.
2021-09-21 15:34:06 +03:00
bharatnc
b4e86e98db
Fix typo
2021-09-20 22:57:43 -07:00
bharatnc
49e6023d65
H3 - add func H3GetFaces
2021-09-20 19:20:02 -07:00
bharatnc
536f3a52d9
H3 - Add func H3IsPentagon
2021-09-20 18:50:45 -07:00
bharatnc
8a8ff94b99
Update ya.make file
2021-09-20 18:32:26 -07:00
bharatnc
51e45050c1
Update outdated ya.make files
...
This runs the `utils/generate-ya-make/generate-ya-make.sh` script to
update the ya.make files that are not updated.
I wonder why they were not updated and how it was missed.
2021-09-20 18:28:07 -07:00
bharatnc
1766702a60
H3 - add func ResIsClassIII
2021-09-20 18:18:10 -07:00
Anton Popov
6f9e53197c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-20 17:17:05 +03:00
Anton Popov
dce55260e0
fix tests
2021-09-20 16:10:41 +03:00
tavplubix
66bc619c3e
Merge pull request #28983 from ClickHouse/func_zookeeper_session_uptime
...
Add function zookeeperSessionUptime(), fix some flaky tests
2021-09-20 14:47:49 +03:00
tavplubix
922cf7ee20
Merge pull request #28373 from ClickHouse/tables_topsort
...
Resolve table dependencies on metadata loading
2021-09-20 14:46:47 +03:00
alexey-milovidov
3eed1f06ea
Merge pull request #28952 from fuzzERot/h3-functions
...
Implementation of h3ToGeoBoundary
2021-09-18 14:27:11 +03:00
Vladimir C
4eaf2969e2
Merge pull request #28332 from OodounaikingoO/master
2021-09-17 14:46:20 +03:00
Anton Popov
eef436fe22
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-16 18:07:42 +03:00
Anton Popov
348537faee
better IColumn::createWithOffsets
2021-09-16 16:57:45 +03:00
Alexey Boykov
1215c25bd7
Merge branch 'master' into numeric_tuple_functions
2021-09-16 15:46:18 +03:00
Alexey Boykov
53d7649c33
Constant p
2021-09-16 15:43:10 +03:00
tavplubix
23f54658a6
Update serverConstants.cpp
2021-09-16 12:15:22 +03:00
mergify[bot]
d4ac1fdba0
Merge branch 'master' into h3-functions
2021-09-15 21:24:31 +00:00
alexey-milovidov
10a314dd46
Update h3ToGeoBoundary.cpp
2021-09-16 00:24:12 +03:00
Alexander Tokmakov
d0c3b87d84
improvements
2021-09-16 00:17:54 +03:00
Alexander Tokmakov
5c605189ac
Merge branch 'master' into func_zookeeper_session_uptime
2021-09-15 21:10:06 +03:00
chenjian
f99c2da4d8
fix build and style error
2021-09-15 18:03:41 +08:00
小路
9416c5e74d
Remove outdated comment.
2021-09-14 11:22:34 +08:00
Alexander Tokmakov
df56e99b87
fixes after review
2021-09-13 22:11:16 +03:00
Anton Popov
2b49f42bca
fix build
2021-09-13 20:37:35 +03:00
Anton Popov
671f98506a
fix build
2021-09-13 20:34:36 +03:00
Anton Popov
7ec5c73c9b
Merge branch 'master' into issues_27763
2021-09-13 20:33:29 +03:00
Alexander Tokmakov
ee8cb93004
add function zookeeperSessionUptime()
2021-09-13 15:19:37 +03:00
alexey-milovidov
4f073a436b
Update h3ToGeoBoundary.cpp
2021-09-13 07:22:52 +03:00
fuzzERot
dba428c443
Implementation of h3ToGeoBoundary
2021-09-12 23:47:51 +03:00
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2
2021-09-12 19:30:55 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
...
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
Mike Kot
1f6fb3f6ea
Fix gtest, add Decimal aliases, Typelist solution for bin arithm
2021-09-12 14:26:07 +02:00
Azat Khuzhin
c7e5cd7cda
Fix arrayCumSumNonNegative() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
6403cbee46
Fix arrayDifference() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
3c75844a79
Fix SIGSEGV for arrayCompact() with consts
...
arrayCompact() implements useDefaultImplementationForConstants() but it
is a no-op for FunctionArrayMapped, fix this.
CI report [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/28890/baac2e561cfb05bc174f0bd25571e607d19c7463/fuzzer_asan/report.html#fail1
2021-09-11 22:39:20 +03:00
Mike Kot
3401b32e37
Adapted usage of is_decimal concept
2021-09-11 19:35:12 +02:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Sergei Semin
212182a87c
solve problem with TargetSpecific.h
2021-09-09 23:51:47 +03:00
Sergei Semin
14de0c0b0f
solve problem with FunctionsCodingIP.cpp
2021-09-09 23:51:47 +03:00
Alexey Boykov
d63a1fbe40
Add aliases
2021-09-09 18:45:05 +03:00
Alexey Boykov
7da26f8f3b
NULL support (check description)
...
Interesting bug or feature: (1, 2) * NULL is NULL, not tuple of NULLs.
2021-09-09 16:07:51 +03:00
Alexey Boykov
89b672b1e5
Style
2021-09-09 15:41:22 +03:00
Anton Popov
8203bd1ac6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-09 14:04:37 +03:00
chenjian
7fe506dc5b
add feature/optimize-bitmapAnd
2021-09-07 10:46:13 +00:00
bharatnc
503b7a59f0
fix getNumberOfArguments() for s2Rect functions
...
This fixes the value returned by the getNumberOfArguments() by the
s2RectAdd and the s2RectContains functions. Only 3 arguments are
used by these functions and not 4:
- low s2Point of rectangle
- high s2Point of rectangle
- given s2Point
The given s2Point is used to groow the size of the bounding rectangle to
include the given S2Point in case of the s2RectAdd function. In case
of s2RectContains, the function determines if the bounded rectangle
contains the given point.
PS: I wonder if it's more apt to call rectAdd as rectGrow since
it's used to grow the size of a given rectangle.
2021-09-06 14:19:18 -07:00
zhangxiao871
0b6ab61633
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master
2021-09-07 01:22:02 +08:00
zhangxiao871
fe3e786cf2
add bitShiftLeft for FixedString and String integer.
2021-09-07 01:20:12 +08:00
Mike Kot
8e9aacadd1
Initial: replacing hardcoded toString for enums with magic_enum
2021-09-06 16:24:03 +02:00
zhangxiao871
8c30f09a00
Fix PVS check.
2021-09-05 22:08:24 +08:00