Commit Graph

2866 Commits

Author SHA1 Message Date
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
Nikolai Kochetov
776bb0b02c Fix insert into defalut nested LowCardinality column. 2022-01-10 21:30:28 +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
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
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
bharatnc
b9787f730e use prefix increment for rows 2021-12-19 20:32:52 -08:00
bharatnc
15c555c161 simplify looping in S2 functions
Previously replaced range based for loops in H3 functions with simple
for loops based on review. Similarly doing the same for the S2 functions
also.
2021-12-19 20:00:28 -08:00
alexey-milovidov
13d1377ad7
Update src/Functions/ReplaceRegexpImpl.h
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2021-12-19 12:59:28 +03:00
Alexey Milovidov
0d6e8e90eb Proper fix for #30245 2021-12-19 12:44:42 +03:00
alexey-milovidov
cee850b3be
Revert "fix replaceRegexpAll bug" 2021-12-19 11:32:34 +03:00
alesapin
6bd7e425c6
Merge pull request #22535 from CurtizJ/sparse-serialization
Sparse serialization and ColumnSparse
2021-12-17 15:26:17 +03:00
alexey-milovidov
5293555d4d
Merge pull request #31797 from aiven/kmichel-fix-base64encode-too-fast
Fix base64Encode adding trailing bytes on small strings
2021-12-16 01:35:22 +03:00
mergify[bot]
41ae7c8eb1
Merge branch 'master' into fix_IP_conversion 2021-12-15 19:19:47 +00:00
Dmitry Novik
64b0365848 Fix build 2021-12-15 20:40:36 +03:00
Maksim Kita
ac3cb8c12b CacheDictionary dictionary source access race fix 2021-12-15 15:55:28 +03:00
mergify[bot]
4300f77532
Merge branch 'master' into fix_IP_conversion 2021-12-14 20:12:34 +00:00
Anton Popov
16312e7e4a Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-14 18:58:17 +03:00
cmsxbc
0b4a9ebce0
fix fuzzbits with multiply same fixedstring 2021-12-14 23:26:18 +08:00
Alexey Milovidov
71926a3a97 Fix surprisingly bad code in function "file" 2021-12-13 07:57:54 +03:00
alexey-milovidov
6779196c6b
Merge pull request #32587 from ClickHouse/reinterpret-perf
Slight performance improvement of "reinterpret" function
2021-12-12 12:14:43 +03:00
alexey-milovidov
26d606c158
Merge pull request #32456 from ClickHouse/fix-29890
Fix arraySlice with null args.
2021-12-12 06:38:17 +03:00
Alexey Milovidov
3b0f026827 Slight performance improvement of "reinterpret" function 2021-12-12 03:29:26 +03:00
vxider
d021e13b8c rename window function name 2021-12-10 09:59:50 +00:00
vxider
52fa82b4d4 rename window-view function to time window function 2021-12-10 09:43:44 +00:00
Nikolai Kochetov
b3bd9e6a37 Fix arraySlice with null args. 2021-12-09 16:31:13 +03:00
Anton Popov
d8367334a3 Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-08 18:26:19 +03:00
feng lv
c3c69c5f79 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into comp-decimal-float 2021-12-08 13:15:51 +00:00
mergify[bot]
ed0c36bf32
Merge branch 'master' into rename-window-functions 2021-12-07 21:04:53 +00:00
feng lv
8ab2777dd5 fix 2021-12-07 15:51:47 +00:00
Nikita Mikhaylov
7e036d31e9 One more style related commit 2021-12-07 11:29:46 +00:00
Nikita Mikhaylov
d3d4524390 Merge branch 'master' of github.com:ClickHouse/ClickHouse into get_fuzz_data 2021-12-07 10:32:03 +00:00
vxider
c4c517bb8a rename window functions 2021-12-07 08:14:00 +00:00
Nikita Mikhaylov
fb24e7181f Better 2021-12-06 18:27:06 +00:00
Nikita Mikhaylov
fa22fdc097 Merge branch 'master' of github.com:ClickHouse/ClickHouse into get_fuzz_data 2021-12-06 14:30:49 +00:00
vxider
2f4f2d9d5e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-12-06 14:06:00 +00:00