Commit Graph

3046 Commits

Author SHA1 Message Date
Vladimir C
cd75d221cd
Merge pull request #33779 from vdimir/base64enc-arm64 2022-01-21 08:42:50 +03:00
bharatnc
3342c64110 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-20 20:21:56 -08:00
bharatnc
2bbf8dc9bc updates to min2 and max2 funcs 2022-01-20 15:39:05 -08:00
mergify[bot]
8e7b26bae0
Merge branch 'master' into ncb/degrees-radians-funcs 2022-01-20 22:30:27 +00:00
mergify[bot]
b32e2a8624
Merge branch 'master' into functions-conversion-fix-typo 2022-01-20 17:56:46 +00:00
Maksim Kita
9acba98b77 FunctionsConversion fix typo 2022-01-20 16:21:34 +00:00
Bharat Nallan
adbdc3153a
improvements to tests for h3kRing and h3ToChildren funcs (#33311) 2022-01-20 17:08:13 +03:00
Vladimir C
7156e64ee2
Merge pull request #33360 from RogerYK/feat/bitSlice 2022-01-20 16:20:27 +03:00
avogar
2d975057d0 Make result Bool only if arguments contain Bool 2022-01-20 14:16:11 +03:00
avogar
ba54a5ff80 Some improvements and fixes for Bool data type 2022-01-20 14:16:11 +03:00
Azat Khuzhin
b23053d1f6 Remove USE_XXHASH (reduntant) 2022-01-20 10:02:02 +03:00
Azat Khuzhin
66a210410f Fix build w/o hyperscan 2022-01-20 10:02:02 +03:00
Azat Khuzhin
6dcb09f9e1 Cleanup llvm 2022-01-20 10:02:01 +03:00
Azat Khuzhin
3889f79a3d Remove unbundled h3 support 2022-01-20 10:01:59 +03:00
Azat Khuzhin
8cca397fcb Fix config header for functions 2022-01-20 10:01:59 +03:00
Azat Khuzhin
cbf8867f50 Remove unbundled fastops support 2022-01-20 10:01:59 +03:00
Azat Khuzhin
126aa4b65c Remove unbundled base64 support 2022-01-20 10:01:58 +03:00
Azat Khuzhin
133e00a43d Remove unbundled rapidjson support 2022-01-20 10:01:12 +03:00
Azat Khuzhin
db468b6fae Remove unbundled simdjson support 2022-01-20 10:01:12 +03:00
Azat Khuzhin
4524a19391 Remove unbundled ICU support 2022-01-20 10:01:12 +03:00
Azat Khuzhin
48b5c098dd Remove unbundled farmhash support 2022-01-20 10:01:12 +03:00
Azat Khuzhin
f1cc63d900 Remove unbundled cityhash support 2022-01-20 10:01:12 +03:00
Azat Khuzhin
8ede97925e Remove unbundled sparsehash support 2022-01-20 10:01:11 +03:00
Azat Khuzhin
789dfd9f3b Remove unbundled re2 support
v2: preserve re2_st name to make PVS check pass (since docker image
update fails)
2022-01-20 10:00:49 +03:00
bharatnc
6e8439e764 review fixes 2022-01-19 22:35:21 -08:00
bharatnc
9c79ba3151 minor fix 2022-01-19 22:18:45 -08:00
bharatnc
cd4d12c443 add degrees and radians funcs 2022-01-19 22:18:44 -08:00
Azat Khuzhin
94ba901fbd Remove unbundled s2geometry support 2022-01-20 08:47:16 +03:00
Azat Khuzhin
cf30669cc9 Remove unbundled openssl/boringssl (crypo/ssl) support 2022-01-20 08:47:16 +03:00
Azat Khuzhin
8485abd52b Remove unbundled lz4 support 2022-01-20 08:47:16 +03:00
Azat Khuzhin
ca8525a733 Remove unbundled zlib support 2022-01-20 08:47:16 +03:00
Maksim Kita
6de52464e5
Merge pull request #33772 from ucasfl/bit-hamming
rewrite bitHammingDistance with FunctionBinaryArithmetic
2022-01-19 15:18:05 +01:00
Bharat Nallan
4dd8b65a1c
add h3ToCenterChild function (#33313) 2022-01-19 16:04:23 +03:00
vdimir
34765765ad Use tb64senc for base64Decode on aarch64 2022-01-19 12:00:24 +00:00
Nikolay Degterinsky
8c1c3f0ce8 Small fix 2022-01-19 10:31:04 +00:00
feng lv
53fde56cb7 rewrite bitHammingDistance with FunctionBinaryArithmetic
fix

fix typo
2022-01-19 09:07:05 +00:00
bharatnc
a2a5beaedc fix style check 2022-01-18 22:52:13 -08:00
bharatnc
28a7366130 fix spacing 2022-01-18 22:52:13 -08:00
bharatnc
5e58767de8 add check for h3 empty column arguments 2022-01-18 22:52:13 -08:00
Frank Chen
94a2490664
Fix style checking 2022-01-19 10:13:12 +08:00
Nikolay Degterinsky
9d45025c7d Merge branch 'master' into classification 2022-01-18 21:41:03 +00:00
Nikolay Degterinsky
3a414eb1da Fix detectLanguage 2022-01-18 21:32:32 +00:00
Dmitry Novik
43838c1b4c
Merge pull request #33355 from ucasfl/decimal-binary-op
Enable binary arithmetic between Decimal and Float
2022-01-18 14:04:26 +03:00
frank chen
3391f3f06e Change the order
Signed-off-by: frank chen <frank.chen021@outlook.com>
2022-01-18 14:27:08 +08:00
alexey-milovidov
19fadd8d41
Merge pull request #33707 from kitaisreal/h3-remove-functions-rads-to-degs
H3 remove functions degsToRads, radsToDegs
2022-01-18 03:32:38 +03:00
Maksim Kita
110b39add4 H3 remove functions degsToRads, radsToDegs 2022-01-17 14:42:50 +00:00
Nikolay Degterinsky
6424311773 Fix 2022-01-17 10:01:06 +00:00
zvonand
32dc865203 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-17 11:42:06 +03:00
Maksim Kita
ff15e5af1d Fixed tests 2022-01-16 11:45:36 +00:00
Maksim Kita
0df98140af Functions dictGet, dictHas implicit key cast 2022-01-15 23:25:05 +00:00
bharatnc
3660438325 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-14 16:46:17 -08:00
bharatnc
8b10bd9221 fix style check 2022-01-14 00:52:02 -08:00
bharatnc
9f35c0affc fix res type in various funcs 2022-01-14 00:44:18 -08:00
bharatnc
f303e0b23b fix return type 2022-01-14 00:20:34 -08:00
bharatnc
f0bffbfee5 check max H3 resolution 2022-01-14 00:11:52 -08:00
bharatnc
a680604335 add h3NumHexagons func 2022-01-14 00:02:41 -08:00
bharatnc
c9aca0d7c6 add h3ExactEdgeLengthRads func 2022-01-13 23:42:56 -08:00
bharatnc
905d4abdd6 add h3ExactEdgeLengthKm func 2022-01-13 23:40:07 -08:00
bharatnc
e4d8b60745 add column check for h3EdgeLengthKm 2022-01-13 22:25:17 -08:00
bharatnc
2d6801aa95 add h3ExactEdgeLengthM func 2022-01-13 21:05:54 -08:00
bharatnc
a037d286fb add func h3EdgeLengthKm 2022-01-13 19:19:23 -08:00
mergify[bot]
48f8706869
Merge branch 'master' into comp-decimal-float 2022-01-13 04:33:28 +00:00
feng lv
abea81789e fix and add more tests 2022-01-13 03:25:01 +00:00
Nikolay Degterinsky
1c24667f20 Refactor 2022-01-12 16:49:21 +00:00
RogerYK
1dd903f28d fix undefined behavior 2022-01-12 19:13:08 +08:00
RogerYK
b6e40427a0 fix style 2022-01-11 23:35:34 +08:00
RogerYK
8707e3bea1 make implementation clear and add more test 2022-01-11 23:22:16 +08:00
feng lv
bf0a6570c0 Merge branch 'decimal-binary-op' of https://github.com/ucasfl/ClickHouse into decimal-binary-op 2022-01-11 12:28:25 +00:00
feng lv
655cf6c315 fix 2022-01-11 12:27:21 +00:00
Maksim Kita
a9f389d546
Merge pull request #33512 from kitaisreal/h3-funcs-bad-arguments-possible-crash-fix
H3 functions bad arguments possible crash fix
2022-01-11 12:31:57 +03:00
Kruglov Pavel
eb65175b6b
Merge pull request #33504 from ClickHouse/fix_nested_lc_default
Fix insert into defalut nested LowCardinality column.
2022-01-11 12:15:27 +03:00
Maksim Kita
ca5e08cef6 H3 functions bad arguments possible crash fix 2022-01-11 11:21:56 +03:00
bharatnc
01f9370d6e fix variable name in h3 misc funcs 2022-01-10 22:41:41 -08:00
Nikolay Degterinsky
85b8985df2 Better 2022-01-10 20:30:26 +00:00
zvonand
3c0acbfbbf Fix fromUnixTimestamp64...() functions 2022-01-10 22:41:05 +03:00
Nikolai Kochetov
776bb0b02c Fix insert into defalut nested LowCardinality column. 2022-01-10 21:30:28 +03:00
zvonand
ed0f7adb1e Modified type check for fromUnixTimestamp64 2022-01-10 13:15:26 +03:00
mergify[bot]
664eb7d456
Merge branch 'master' into decimal-binary-op 2022-01-10 07:14:56 +00:00
feng lv
8346057be6 fix 2022-01-10 03:05:45 +00:00
bharatnc
fe0e2af033 remove some extra vertical spaces 2022-01-09 09:12:30 -08:00
bharatnc
ab518b282c use checkAndGetColumn to get columns explicitly 2022-01-09 09:08:52 -08:00
feng lv
b06211fb03 fix
fix
2022-01-09 16:32:31 +00:00
bharatnc
1a98c34c98 fix formatting 2022-01-08 15:38:52 -08:00
bharatnc
cced75732a add h3CellAreaRads2 func 2022-01-08 15:23:46 -08:00
bharatnc
deb2ed649a add h3CellAreaM2 func 2022-01-08 15:23:46 -08:00
bharatnc
fb3ad4e0fc add h3HexAreaToKm2 func 2022-01-08 15:23:46 -08:00
bharatnc
3e84a4ee81 add func h3RadsToDegs 2022-01-08 15:23:45 -08:00
bharatnc
70288074e8 change input arg to Float64 2022-01-08 15:23:45 -08:00
bharatnc
c0fa31f28e fix return stmt 2022-01-08 15:23:45 -08:00
bharatnc
d0fd19f28c add h3DegsToRads func 2022-01-08 15:23:45 -08:00
Maksim Kita
ff645a062a
Merge pull request #33465 from kitaisreal/function-array-last-index
Added function arrayLastIndex
2022-01-08 23:08:04 +03:00
feng lv
442a183ec2 fix
fix
2022-01-08 14:17:53 +00:00
Maksim Kita
d6df9d6621 Added function arrayLastIndex 2022-01-08 11:37:31 +03:00
Maksim Kita
4141246c13 Function monthName small fix 2022-01-08 11:04:22 +03:00
alexey-milovidov
df2fede98b
Update decodeURLComponent.cpp 2022-01-08 07:21:12 +03:00
mergify[bot]
905d5be288
Merge branch 'master' into add-decodeURLFormComponent 2022-01-08 01:22:40 +00:00
alexey-milovidov
140d64f785
Merge pull request #33415 from kitaisreal/function-array-last
Added function arrayLast
2022-01-07 20:37:06 +03:00
usurai
d4116d8de2 Fix case style 2022-01-07 23:47:21 +08:00
Maksim Kita
6b9703446d Added function arrayLast 2022-01-07 16:37:21 +03:00
cmsxbc
37349a9d0f
add function decodeURLFormComponent 2022-01-07 20:51:30 +08:00
usurai
9fd8b99b7c Remove maybe_unused 2022-01-07 13:23:22 +08:00
usurai
76848e7a2a Use FunctionFactory to invoke dateName 2022-01-07 13:06:47 +08:00
usurai
aaa45beba1 Revert "Move dataName.cpp to dateName.h"
This reverts commit f919bb8664.
2022-01-07 09:45:34 +08:00
usurai
e849ea4294 Revert "Add monthName"
This reverts commit c0892f6e6c.
2022-01-07 09:45:27 +08:00
usurai
c0892f6e6c Add monthName 2022-01-07 00:32:38 +08:00
usurai
f919bb8664 Move dataName.cpp to dateName.h 2022-01-07 00:11:54 +08:00
Alexey Milovidov
6157f73fb5 Fix UBSan 2022-01-05 22:15:22 +03:00
Alexey Milovidov
eb80dfebf2 Fix style 2022-01-05 07:12:20 +03:00
Alexey Milovidov
c4713ee34b Normalize left, right, leftUTF8, rightUTF8 functions 2022-01-05 06:46:31 +03:00
Alexey Milovidov
bf59114cee Make "left" and "right" real functions 2022-01-05 05:32:40 +03:00
RogerYK
86db17e70f Add comment and docs 2022-01-03 16:31:11 +08:00
Alexey Milovidov
cab5f4fe1e Merge with master 2022-01-03 02:07:08 +03:00
Amos Bird
0b7a94c2be Saturate date/datetime to zero 2022-01-03 02:07:08 +03:00
RogerYK
f2e5399c61 Add function bitSlice for String and FixedString 2022-01-02 18:49:09 +08:00
feng lv
48c0b41ad5 Enable binary arithmetic between Decimal and Float
fix
2022-01-01 09:11:21 +00:00
Nikolay Degterinsky
fce10091a9 Merge branch 'master' into classification 2021-12-30 10:34:06 +00:00
Nikolay Degterinsky
3dfba6f223 Fix style 2021-12-30 03:46:57 +00:00
Nikolay Degterinsky
b9a75bc39c Fix build 2021-12-30 03:15:21 +00:00
Nikolay Degterinsky
2bdee0b0b8 Merge branch 'master' into classification 2021-12-30 02:17:47 +00:00
Nikolay Degterinsky
ba0083736e Change DetectLanguageMixed output type 2021-12-30 02:14:57 +00:00
vdimir
154e7b03c0
Disable FunctionConvertFromString::canBeExecutedOnDefaultArguments 2021-12-29 13:34:54 +03:00
feng lv
5e23126f28 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into decimal-binary-op 2021-12-26 09:24:18 +00:00
feng lv
a32513fd46 fix 2021-12-26 09:23:42 +00:00
feng lv
6734b592bb decimal plus float 2021-12-26 09:04:12 +00:00
mergify[bot]
f5a7e58cb0
Merge branch 'master' into comp-decimal-float 2021-12-26 07:13:00 +00:00
alexey-milovidov
4d99f1016d
Merge pull request #33146 from CurtizJ/fix-column-sparse
Fix functions with sparse arguments in case when result type doesn't support sparse serialization
2021-12-25 06:28:19 +03:00
alexey-milovidov
26a735c52f
Merge pull request #32984 from Avogar/bool-type
Improve Bool data type
2021-12-25 06:22:54 +03:00
Anton Popov
c37f1c40be fix functions with sparse arguments 2021-12-24 19:39:50 +03:00
Alexey Milovidov
29d28c531f Move code around to avoid dlsym on Musl 2021-12-24 12:25:27 +03:00
feng lv
148fbb82ad fix
fix comment
2021-12-24 05:25:23 +00:00
feng lv
80c5bfcbcb fix
fix
2021-12-24 05:13:12 +00:00
avogar
85d214d560 Fix build 2021-12-23 20:14:54 +03:00
avogar
2e02a6bcca Try to fix build 2021-12-23 19:47:29 +03:00
avogar
ce68c54b03 Fix comments, reduce extra copying 2021-12-23 19:47:29 +03:00
avogar
5e5d6609ed Proper cast to bool 2021-12-23 19:47:29 +03:00
avogar
19faf46b68 Improve Bool data type 2021-12-23 19:47:29 +03:00
Nikolay Degterinsky
52b18b0c56 Refactor 2021-12-23 14:10:12 +00:00
mergify[bot]
caf19e66e3
Merge branch 'master' into hex 2021-12-23 09:00:29 +00:00
feng lv
dc6f7858f8 refactor 2021-12-23 03:55:40 +00:00
tavplubix
c297c2c4c3
Revert "Dictionaries added Date32 type support" 2021-12-22 19:41:52 +03:00
Maksim Kita
97b0a343f8
Merge pull request #32971 from kitaisreal/dictionaries-added-date32-type-support
Dictionaries added Date32 type support
2021-12-22 19:22:01 +03:00
mergify[bot]
7da6d8b310
Merge branch 'master' into fix_IP_conversion 2021-12-21 12:16:05 +00:00
Maksim Kita
dd0d3de050
Merge pull request #32970 from kitaisreal/loops-remove-postfix-increment
Loops remove postfix increment
2021-12-20 19:51:07 +03:00
Maksim Kita
02b6ad52ef FunctionThrowIf fixed exception 2021-12-20 16:55:15 +03:00
Maksim Kita
60d4295d8a FunctionThrowIf added comment 2021-12-20 16:00:43 +03:00
Maksim Kita
51477adf1b Updated additional cases 2021-12-20 15:55:07 +03:00
Maksim Kita
20e4ce3314 Short circuit evaluation function throwIf support 2021-12-20 14:49:05 +03:00
Maksim Kita
51826c14a0 Dictionaries added Date32 type support 2021-12-20 13:39:07 +03:00
Maksim Kita
7785eac384 Loops remove postfix increment 2021-12-20 13:32:13 +03:00
Maksim Kita
2eb9b3118e
Merge pull request #32805 from kitaisreal/cache-dictionary-dictionary-source-access-race-fix
CacheDictionary dictionary source access race fix
2021-12-20 12:50:16 +03:00