Kruglov Pavel
73adbb4c15
Merge pull request #35986 from amosbird/better-scalar1
...
Fix performance regression of scalar query
2022-04-07 14:07:59 +02:00
Alexander Tokmakov
8290ffa88d
Merge branch 'master' into mvcc_prototype
2022-04-07 13:50:42 +02:00
Alexander Gololobov
42d4a84a6f
More tests for corner cases
2022-04-07 12:34:26 +02:00
Alexander Gololobov
81d150ed43
Implementation of makeDateTime() and makeDateTime64()
2022-04-07 00:30:18 +02:00
Meena Renganathan
645e156af6
Updated the boringssl-cmake to match the latest broingssl module update
2022-04-06 14:52:33 -07:00
Mikhail Artemenko
151eeb1a27
Merge branch 'master' into MeiliSearch
2022-04-06 17:07:55 +03:00
Amos Bird
df06f9f974
Fix performance regression of scalar query
2022-04-06 17:50:22 +08:00
Vladimir C
2ebae2d722
Merge pull request #35682 from CurtizJ/dynamic-columns-6
2022-04-06 11:48:07 +02:00
Alexander Tokmakov
1fe50ad201
Merge branch 'master' into mvcc_prototype
2022-04-05 14:38:02 +02:00
Maksim Kita
b160ffd726
Merge pull request #35723 from ClickHouse/array-has-all-sse-avx2-optimizations
...
Merging #27653
2022-04-05 11:09:14 +02:00
Alexander Gololobov
f0de8eb625
Extracted argument handling into a separate class to reuse it for makeDateTime() and makeDateTime64()
2022-04-04 19:57:04 +02:00
Alexander Tokmakov
a2167f12b8
Merge branch 'master' into mvcc_prototype
2022-04-04 14:24:23 +02:00
Maksim Kita
47528de78b
Fix build
2022-04-04 14:07:05 +02:00
Maksim Kita
af405d3ba6
Fixed style check
2022-04-04 13:34:27 +02:00
Nikolai Kochetov
19819c72f8
Merge pull request #35290 from bigo-sg/function_enumerate_streams
...
Add function getTypeSerializationStreams
2022-04-04 12:09:53 +02:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
...
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
Alexander Tokmakov
5a50ad9de3
Merge branch 'master' into mvcc_prototype
2022-03-31 11:35:04 +02:00
taiyang-li
a5765dccb1
Merge branch 'master' into function_enumerate_streams
2022-03-31 12:21:00 +08:00
Kruglov Pavel
4ec3c35e14
Merge pull request #35755 from Avogar/fix-custom-to-string
...
Fix bug in conversion from custom types to string
2022-03-31 00:06:48 +02:00
Maksim Kita
e43fdcd7eb
Function hasAll added dynamic dispatch for SSE4.2, AVX2
2022-03-30 18:41:34 +02:00
Maksim Kita
8d0a9689e4
Update gatherutils CMakeLists to use X86_INTRINSICS_FLAGS from cpu_features
2022-03-30 18:40:18 +02:00
Maksim Kita
91eec8962f
Rename test
2022-03-30 18:39:28 +02:00
avogar
af4bfec051
Fix bug in conversion from custom types to string
2022-03-30 11:19:03 +00:00
Vladimir C
31c367d3cd
Merge pull request #35651 from amosbird/columntransformerrename
2022-03-30 12:37:30 +02:00
Antonio Andelic
d85ed8f2a9
Merge pull request #35655 from ClickHouse/exception-compile-time-message-check
...
Use compile-time check for `Exception` messages
2022-03-30 08:11:32 +02:00
taiyang-li
47f3e9330e
merge master and fix conflict
2022-03-30 11:06:51 +08:00
Anton Popov
a842a81aba
Merge pull request #35690 from CurtizJ/flatten-tuple
...
Add function `flattenTuple`
2022-03-30 00:24:36 +02:00
Maksim Kita
2742b88e6c
Merge pull request #27653 from ContentSquare/hasAllAny_SIMD
...
Implement HasAll specialization for SSE and AVX2
2022-03-29 16:35:59 +02:00
Alexander Tokmakov
287d858fda
Merge branch 'master' into mvcc_prototype
2022-03-29 16:24:12 +02:00
Antonio Andelic
9990abb76a
Use compile-time check for Exception messages, fix wrong messages
2022-03-29 13:16:11 +00:00
Anton Popov
9610139477
Merge pull request #35629 from CurtizJ/dynamic-columns-5
...
Support schema inference for type `Object` in format `JSONEachRow`
2022-03-29 14:17:09 +02:00
Alexander Gololobov
bf376ee2f5
Merge pull request #35628 from ClickHouse/make_date
...
Implementation of makeDate and makeDate32
2022-03-29 13:35:26 +02:00
taiyang-li
db436ad621
Merge branch 'master' into function_enumerate_streams
2022-03-29 11:35:21 +08:00
Alexander Gololobov
b49993f993
Fixes according to the code review
2022-03-28 22:47:39 +02:00
Anton Popov
24c0cf86d4
add function 'flattenTuple'
2022-03-28 19:32:12 +00:00
Anton Popov
6cbdc6af00
remove obsolete parameter
2022-03-28 18:44:53 +00:00
Alexander Tokmakov
208b242188
Merge branch 'master' into mvcc_prototype
2022-03-28 19:58:06 +02:00
Alexander Gololobov
93021e387e
Implementation of makeDate and makeDate32
2022-03-28 18:57:24 +02:00
Amos Bird
6003a49a87
Fix style
2022-03-28 17:48:47 +08:00
Amos Bird
58a78fba12
formatString bug fix and refactoring
2022-03-28 15:47:48 +08:00
Anton Popov
67195bfdd5
support schema inference for type Object in format JSONEachRow
2022-03-25 21:51:53 +00:00
taiyang-li
7889059f7d
fix building
2022-03-25 22:39:57 +08:00
taiyang-li
4788006030
Merge branch 'master' into function_enumerate_streams
2022-03-25 22:31:10 +08:00
Antonio Andelic
e76074ef7f
Merge branch 'master' into fix-casewithexpression-type-deduction
2022-03-25 11:12:38 +00:00
taiyang-li
dd0873189d
rename all files
2022-03-25 14:54:01 +08:00
taiyang-li
c9acc55008
rename function name
2022-03-25 14:51:59 +08:00
Antonio Andelic
fbba450cff
Take ELSE branch into account for result type deduction
2022-03-24 11:23:18 +00:00
Alexey Milovidov
31eeeeb428
Add compatibility alias
2022-03-24 02:21:57 +01:00
Alexey Milovidov
d54138425f
Rename yandexConsistentHash to kostikConsistentHash
2022-03-24 02:18:25 +01:00
Maksim Kita
4b88c6f934
Merge pull request #35534 from kitaisreal/set-in-ipv4-ipv6-address-cast-fix
...
Fix cast into IPv4, IPv6 address in IN section
2022-03-24 01:26:25 +01:00
Maksim Kita
31b3d2e840
Fixed tests
2022-03-23 19:59:26 +01:00
Yakov Olkhovskiy
1631656803
Merge pull request #34353 from zvonand/issue_33147
...
Extended usage of Milliseconds, Microseconds, Nanoseconds
2022-03-23 13:33:07 -04:00
Maksim Kita
ff2d5dae83
Fix cast into IPv4, IPv6 address in IN section
2022-03-23 15:22:08 +01:00
Alexander Tokmakov
bcec53aadc
Merge branch 'master' into mvcc_prototype
2022-03-23 11:28:43 +01:00
alesapin
0ab9a9c0f6
Merge pull request #33664 from ClickHouse/release-steps
...
Refactor releasing process
2022-03-22 14:43:18 +01:00
Maksim Kita
0576c1b0f3
Merge pull request #35500 from kitaisreal/throw-if-constant-argument-crash-fix
...
Fix crash for function throwIf with constant arguments
2022-03-22 13:44:37 +01:00
Maksim Kita
22112feef3
Fix crash for function throwIf with constant arguments
2022-03-22 12:30:25 +01:00
qieqieplus
91bc253f86
impl distance functions for array
2022-03-22 18:19:12 +08:00
alesapin
bad78f0daa
Don't unwind inlines if we unable to do it
2022-03-22 11:11:36 +01:00
Alexander Tokmakov
3c762f566d
Merge branch 'master' into mvcc_prototype
2022-03-21 20:16:29 +01:00
avogar
0f69baa231
Fix bug in function if that led to logical error
2022-03-21 14:27:25 +00:00
mergify[bot]
e11ef05c2b
Merge branch 'master' into issue_33147
2022-03-21 13:40:17 +00:00
Maksim Kita
695b1300f9
Merge pull request #35383 from rschu1ze/enable-if-to-concepts-pt2
...
Replace more uses of std::enable_if for SFINAE by concepts
2022-03-21 10:47:28 +01:00
taiyang-li
b52a066903
fix style
2022-03-21 14:19:54 +08:00
taiyang-li
8e856a00fd
enable column as argument
2022-03-21 12:49:05 +08:00
Alexander Tokmakov
9e05b12d2c
Merge branch 'master' into mvcc_prototype
2022-03-20 22:42:26 +01:00
Maksim Kita
ab2496ca4e
Fix style check
2022-03-18 21:39:30 +01:00
Maksim Kita
b7b69156e3
Added functions arrayFirstOrNull, arrayLastOrNull
2022-03-18 19:52:02 +01:00
Maksim Kita
2e22164cd7
Merge pull request #35360 from ClickHouse/merging-min-sample-size
...
Merging #34354
2022-03-18 02:28:39 +03:00
Robert Schulze
df73c75456
Replace more uses of std::enable_if for SFINAE by concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive error messages
- this is follow-up to PR #35347 but this time most of the remaining and
more complex usages of enable_if in the codebase were replaced.
2022-03-17 20:44:55 +01:00
Maksim Kita
8f01a6bbde
Function proportionsZTest fix style check
2022-03-17 18:17:30 +00:00
Maksim Kita
7efb9d38e1
Function proporationsZTest formatting fix
2022-03-17 15:32:15 +00:00
Maksim Kita
cca121f0da
Fixed minSampleSize functions
2022-03-17 15:30:59 +00:00
Alexander Tokmakov
d04dc03fa4
Merge branch 'master' into mvcc_prototype
2022-03-17 15:24:32 +01:00
Maksim Kita
3f45755822
Merge pull request #34354 from achimbab/minSampleSize
...
Implement functions for minimum-sample-size-calculators
2022-03-17 12:47:53 +01:00
Maksim Kita
1bf3ff67b2
Function h3GetRes0Indexes crash fix
2022-03-17 11:45:25 +00:00
Maksim Kita
9e88f3b4b9
Merge pull request #34568 from bharatnc/ncb/h3-misc-funcs-3
...
add remaining h3 miscellaneous functions
2022-03-17 11:55:58 +01:00
alesapin
457fa0d1ba
Merge pull request #23932 from CurtizJ/dynamic-columns
...
Support of dynamic subcolumns (JSON data type)
2022-03-17 10:45:46 +01:00
Maksim Kita
4d8c2b2009
Merge pull request #35347 from rschu1ze/enable-if-to-concepts
...
Replace a few uses of enable_if for SFINAE by concepts
2022-03-17 10:34:08 +01:00
taiyang-li
d9391f2f7b
fix conflict
2022-03-17 17:31:37 +08:00
Maksim Kita
f837f609f3
Merge pull request #35240 from kitaisreal/cast-to-ip-address-refactoring
...
Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions
2022-03-17 10:26:32 +01:00
taiyang-li
c04ba090bf
add missing sourcefile and fix code style
2022-03-17 15:35:35 +08:00
taiyang-li
0867a0ce17
fix code style
2022-03-17 10:59:13 +08:00
Alexander Tokmakov
4b3e13a4fe
Merge branch 'master' into mvcc_prototype
2022-03-16 21:06:19 +01:00
Maksim Kita
346c6b9d79
Fixed tests
2022-03-16 19:59:31 +00:00
Robert Schulze
b56c28d841
Replace a few uses of enable_if for SFINAE by concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive
error messages
2022-03-16 19:51:38 +01:00
Maksim Kita
9ba53ae037
Merge pull request #34888 from kitaisreal/performance-tests-fix
...
Performance tests fix
2022-03-16 17:19:16 +01:00
Anton Popov
0ba78c3c3a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-16 15:28:09 +00:00
Nikita Mikhaylov
96c6325fc3
Merging #33398 (proportionsZTest) ( #35157 )
2022-03-16 13:17:07 +01:00
Maksim Kita
8bdb906acb
Fixed tests
2022-03-15 15:43:39 +00:00
Maksim Kita
08bb39d869
Fixed performance tests
2022-03-15 15:43:39 +00:00
Maksim Kita
fa4508bcb9
Fixed tests
2022-03-15 15:35:25 +00:00
taiyang-li
93550d547e
add doc and tests
2022-03-15 18:25:36 +08:00
taiyang-li
c08e3c0dd2
return const for function getMacro if not distributed query
2022-03-15 17:06:16 +08:00
Alexander Tokmakov
9702b5177d
Merge branch 'master' into mvcc_prototype
2022-03-14 21:45:38 +01:00
Maksim Kita
538f8cbaad
Fix clang-tidy warnings in Disks, Formats, Functions folders
2022-03-14 18:17:35 +00:00
Anton Popov
36ec379aeb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-14 16:28:35 +00:00
Maksim Kita
36dc7f03a4
Fixed tests
2022-03-14 09:14:41 +00:00
Alexey Milovidov
978877a9c0
Merge pull request #35212 from rschu1ze/cpp14-trait-aliases
...
Use C++14 aliases for some type traits
2022-03-12 22:20:14 +03:00
Alexey Milovidov
3385275003
Merge pull request #35226 from ClickHouse/timezone-in-config
...
Change timezone example in server config
2022-03-12 21:58:29 +03:00
Maksim Kita
3a2b3ce503
Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions
2022-03-12 17:12:05 +00:00
Alexey Milovidov
df906dfbd4
Change comments
2022-03-11 23:46:02 +01:00
Alexey Milovidov
e4e058d667
Update ReplaceRegexpImpl.h
2022-03-12 01:35:37 +03:00
Robert Schulze
85ce4a9bea
Use C++14 aliases for some type traits
2022-03-11 15:54:29 +01:00
vdimir
c66fb7cf6e
Attempt to fix replaceRegexpAll
2022-03-10 19:57:13 +00:00
alexey-milovidov
008760b436
Update toLastDayOfMonth.cpp
2022-03-10 22:30:46 +03:00
Alexander Tokmakov
061fa6a6f2
Merge branch 'master' into mvcc_prototype
2022-03-10 13:13:04 +01:00
Amos Bird
a19224bc9b
Fix partition pruner: non-monotonic function IN
2022-03-09 15:48:42 +08:00
Alexander Tokmakov
8acfb8d27f
Merge branch 'master' into mvcc_prototype
2022-03-07 17:40:15 +01:00
Anton Popov
0bc57da238
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-07 14:46:08 +00:00
Vladimir C
79b21c80b1
Merge pull request #33698 from hexiaoting/dev-map-funciton
2022-03-04 11:51:17 +01:00
vdimir
e9dee63fe2
style fix
2022-03-04 10:49:43 +00:00
Maksim Kita
6722227407
Merge pull request #35027 from kitaisreal/functions-hierarchical-dictionaries-const-arguments-fix
...
Dictionary hierarchy functions implicit key cast and support for constant arguments
2022-03-04 10:45:37 +01:00
Anton Popov
df3b07fe7c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-03 22:25:28 +00:00
Anton Popov
7d01516202
Merge pull request #34795 from snar/array-compact-higher-order
...
make arrayCompact behave as other higher-order functions
2022-03-03 21:25:43 +03:00
vdimir
2aa6685baf
Add cases to 02169_map_functions, update error messages in FunctionArrayMapped
2022-03-03 18:04:17 +00:00
Maksim Kita
18fabccff2
Functions dictGetHierarchy, dictIsIn, dictGetChildren, dictGetDescendants support implicit key cast and constant arguments
2022-03-03 16:13:05 +00:00
hexiaoting
95530d0d70
fix style error
2022-03-03 13:22:48 +00:00
vdimir
f7f002139a
Upd FunctionArrayMapped
2022-03-03 13:22:48 +00:00
vdimir
939a15d29a
Upd FunctionArrayMapped for Map
2022-03-03 13:22:48 +00:00
vdimir
82a76d47ff
Use FunctionArrayMapped for Map
2022-03-03 13:22:47 +00:00
hexiaoting
aeec4a62e7
fix bug
2022-03-03 13:22:47 +00:00
hexiaoting
71aa411746
Fix bug
2022-03-03 13:22:46 +00:00
hexiaoting
a435c3a1e8
Fix mapFilter bug
2022-03-03 13:22:46 +00:00
hexiaoting
582e6fa1c5
Fix build error
2022-03-03 13:22:46 +00:00
hexiaoting
36939f1d5c
Update src/Functions/FunctionMapMapped.h
...
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2022-03-03 13:22:45 +00:00
hexiaoting
ed39edda67
Update src/Functions/mapFilter.cpp
...
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2022-03-03 13:22:45 +00:00
hexiaoting
e953e482ec
Implement more functions for Map data type
2022-03-03 13:22:44 +00:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Maksim Kita
1f5837359e
clang-tidy check performance-noexcept-move-constructor fix
2022-03-02 18:15:27 +00:00
HaiBo Li
2ea18b3085
Fix the bug that the toDatetime function overflows ( #32898 )
...
* Fixed overflow bug of the function toDatetime/toDate/toDate32/parseDateTimeBestEffort
2022-03-02 10:06:38 +03:00
Anton Popov
c1fdcf7a64
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-01 20:21:39 +03:00
Anton Popov
2758db5341
add more comments
2022-03-01 19:32:55 +03:00
mergify[bot]
b4574a777f
Merge branch 'master' into mvcc_prototype
2022-02-28 11:24:39 +00:00
bharatnc
fb2a9a26df
Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs-3
2022-02-25 20:36:31 -08:00
Anton Popov
fcdebea925
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-25 13:41:30 +03:00
Vladimir C
9ba0cb547a
Merge pull request #34836 from vdimir/issue-34810
2022-02-25 09:58:28 +01:00
Alexander Tokmakov
aa6b9a2abc
Merge branch 'master' into mvcc_prototype
2022-02-23 23:22:03 +03:00
vdimir
b5ab8f97c6
Fix untuple condition in IN function
2022-02-23 14:31:53 +00:00
bharatnc
9b770a92ba
improve h3GetRes0Indexes implementation
2022-02-23 01:25:13 -08:00
Alexandre Snarskii
2148b0f803
optimize specialization to use arrays
2022-02-22 18:38:45 +03:00
bharatnc
cf3d9f893c
fix style
2022-02-21 21:37:10 -08:00
bharatnc
57e17c607a
fix - convert const cols to full cols
2022-02-21 12:15:14 -08:00
bharatnc
8e19415992
generalize implementation for h3PointDist{M,Km,Rads}
2022-02-21 11:41:21 -08:00
Alexandre Snarskii
7d87a446d1
make arrayCompact behave as other higher-order functions
2022-02-21 15:40:03 +03:00
Maksim Kita
a3e6552fa5
Merge pull request #34753 from ClickHouse/check-submodules
...
Submodules are mandatory
2022-02-21 13:16:35 +01:00
Maksim Kita
57ef720f2a
Merge pull request #34743 from bharatnc/ncb/fixes-to-h3-funcs
...
fix h3 failing queries having const columns
2022-02-21 11:54:16 +01:00
achimbab
7b9c6e6cba
Merge branch 'minSampleSize' of https://github.com/achimbab/ClickHouse into minSampleSize
2022-02-20 16:43:34 +09:00
achimbab
4794ea236c
Some fixes for minSampleSize functions.
...
- use getData
- add fomulas
- move distribution constructor out of the hot loop
- fix test cases
- use fixed const values for function arguments
2022-02-20 16:40:23 +09:00
Alexey Milovidov
e1a2e376a3
Submodules are mandatory
2022-02-19 17:44:24 +01:00
bharatnc
a4cf3303f9
fix fuzzer segfault
2022-02-19 08:41:21 -08:00
bharatnc
b7678c1bc1
fix s2 functions having const columns
2022-02-18 22:42:27 -08:00
bharatnc
7c9a581af6
convert const cols to full cols
2022-02-18 16:34:50 -08:00
Maksim Kita
3dd6b91cbe
Merge pull request #34731 from kitaisreal/performance-tests-fix-h3
...
Performance tests fix H3
2022-02-18 19:21:38 +01:00
Vladimir C
9b7d011ee7
Merge pull request #34529 from vdimir/join-nullable-on-pipeline
...
Apply join_use_nulls on types before join
2022-02-18 18:34:44 +01:00
Maksim Kita
80b0efb367
Performance tests fix H3
2022-02-18 15:57:54 +00:00
zvonand
9367a8df68
no_sanitize_undefined
2022-02-18 14:53:22 +03:00
zvonand
8d34797212
AST fix try 123
2022-02-18 13:45:47 +03:00
zvonand
6d47a715dc
fix decimal overflow
2022-02-18 10:18:07 +03:00
Nikolay Degterinsky
c09275f0da
Merge pull request #34368 from usurai/sw
...
Add startsWith & endsWith function for arrays
2022-02-18 08:34:48 +03:00
zvonand
71b7b6605e
fixed maths 2
2022-02-18 00:17:29 +03:00
zvonand
1f24f3a5e2
fixed overflow
2022-02-17 23:17:06 +03:00
Maksim Kita
5c92ad0d57
Function encodeURLComponent minor fixes
2022-02-17 18:34:23 +00:00
Maksim Kita
562f1ec01a
Merge pull request #34607 from zzsmdfj/issue/#31092_add_encodeURLComponent_function
...
add encode url component function
2022-02-17 17:57:23 +01:00
zvonand
90c857c5e3
merge
2022-02-17 18:23:37 +03:00
Kruglov Pavel
07098fc597
Merge pull request #34619 from vdimir/fix_aarch64/01662_date_ubsan
...
Check overflow in addSeconds/Minues/etc functions
2022-02-17 15:55:55 +03:00
zvonand
1afe815bda
fix maths
2022-02-17 15:33:26 +03:00
Alexander Tokmakov
dae044f86b
Merge branch 'master' into mvcc_prototype
2022-02-17 13:49:37 +03:00
zvonand
d37003e4b6
mustfix fuzzer
2022-02-17 10:28:09 +03:00
zzsmdfj
1c068f1295
to issue/#31092_add_encodeURLComponent_function
2022-02-17 11:55:06 +08:00
zzsmdfj
6b78da6f02
to issue/#31092_add_encodeURLComponent_function
2022-02-17 11:32:47 +08:00
zvonand
a5a742e22b
updated negative fracs
2022-02-17 01:39:46 +03:00
zvonand
fca314aa11
fixed clang-tidy
2022-02-16 19:23:10 +03:00
vdimir
65452ac089
Fix checkOverflow in FunctionDateOrDateTimeAddInterval
2022-02-16 14:30:37 +00:00
usurai
9fe920500d
Apply suggestions from code review
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-16 20:58:43 +08:00
zvonand
cf244689a2
fixed filling transform
2022-02-16 15:14:25 +03:00
zzsmdfj
4dcb411f4f
to #31092_add_encodeURLComponent_function
2022-02-16 10:19:20 +08:00
zvonand
f60a944483
fixed toStartOfInterval
2022-02-16 02:43:08 +03:00
vdimir
a5c34fafd4
Check overflow in addSeconds/Minues/etc functions
2022-02-15 19:04:59 +00:00
Maksim Kita
37f7e6a216
Merge pull request #34562 from bigo-sg/fix_round
...
Fix round bug
2022-02-15 13:01:57 +01:00
Alexander Tokmakov
1e4e569151
Merge branch 'master' into mvcc_prototype
2022-02-15 02:26:47 +03:00
vdimir
99ca89c0ca
Fix StorageJoin and Asof or join_use_nulls in pipeline
2022-02-14 14:14:27 +00:00
achimbab
054d691685
Merge branch 'ClickHouse:master' into minSampleSize
2022-02-14 09:32:15 +09:00
zvonand
888542e29b
add[interval] no longer oses decimal components
...
Not only support for better subsecond logic, but also fewer conversions
-> faster operation
2022-02-14 02:52:56 +03:00
zvonand
2454f1dd13
Decimal components attempt
2022-02-14 00:04:09 +03:00
bharatnc
c29e16fb74
add tests for h3GetPentagonIndexes
2022-02-13 12:56:43 -08:00
bharatnc
8654691b96
add h3GetPentagonIndexes func
2022-02-13 12:56:43 -08:00
bharatnc
88b6fc6432
add h3GetRes0Indexes func
2022-02-13 12:56:43 -08:00
bharatnc
9646bb0c91
add func h3PointDistRads
2022-02-13 12:56:43 -08:00
bharatnc
982e6aae42
add h3PointDistKm func
2022-02-13 12:56:42 -08:00
bharatnc
d5f2312c2f
add func h3PointDistM
2022-02-13 12:56:42 -08:00
zvonand
196ffb4827
toStartOf[...]second works
2022-02-13 18:41:45 +03:00
zvonand
dcc0f53f8e
updated Interval definitions
2022-02-13 17:54:03 +03:00
achimbab
c5c2e83435
Remove some codes
2022-02-13 23:27:06 +09:00
taiyang-li
e759af2dd4
fix round bug
2022-02-13 18:52:25 +08:00
zvonand
48c1b8b62b
Updated IntervalParser
2022-02-13 13:01:48 +03:00
bharatnc
4dadc7e15b
fix style check
2022-02-12 23:36:40 -08:00
bharatnc
b50005e702
add check for max h3 resolution
2022-02-12 22:05:28 -08:00
achimbab
674032afb9
An integer type can be used for the baseline and sigma.
2022-02-13 14:43:12 +09:00
bharatnc
e02bd7d785
check and get columns in geoToH3 func
2022-02-12 19:08:40 -08:00
zvonand
0c5e8a0beb
upload
2022-02-12 19:37:06 +03:00
Alexander Tokmakov
07e66e690d
Merge branch 'master' into mvcc_prototype
2022-02-11 15:53:32 +03:00
zvonand
da1ba60202
upload
2022-02-11 13:35:50 +03:00
RogerYK
45296fd039
Merge remote-tracking branch 'upstream/master' into fix-substring-negative-offset-length
2022-02-10 15:58:33 +08:00
Anton Popov
18940b8637
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-09 23:38:38 +03:00
zvonand
0fe1fdb6ca
add[...]Seconds basically work
2022-02-09 20:19:01 +03:00
zvonand
d8b40e7deb
basic add[...]seconds added
...
TODO: fix DT64 scale resolution when input and func's scale are not the
same
2022-02-09 10:28:15 +03:00
Habibullah Oladepo
57ff05b6e6
Add new function toLastDayOfMonth
2022-02-08 23:48:44 +01:00
zvonand
0633174b10
Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_33147
2022-02-08 11:42:31 +03:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines
2022-02-08 08:54:15 +08:00
zvonand
9456d89fad
Move current work from old laptop
...
skip-checks: true
2022-02-07 21:44:14 +03:00
achimbab
28e6cfb753
Modify the sample_size type from UInt64 to Float64
2022-02-07 22:25:00 +09:00
Kruglov Pavel
b35f479dea
Delete empty file DateOrDateTimeFunctionsConvertion.cpp
2022-02-07 12:26:50 +03:00
usurai
8076e1ef30
Remove whitespace
2022-02-07 17:23:43 +08:00
usurai
e242192ab8
Declare error code
2022-02-07 16:36:49 +08:00
usurai
550d80201e
Fix endsWith, add test for endsWith
2022-02-07 16:36:49 +08:00
usurai
e6f5c74c17
Remove redundent header
2022-02-07 16:36:49 +08:00
usurai
6dd482136f
Add startsWith & endsWith for array
2022-02-07 16:36:49 +08:00
alexey-milovidov
fb9ed9acad
Merge pull request #34175 from kitaisreal/bitset-sort-performance-check
...
bitsetsort peformance check
2022-02-07 05:34:57 +03:00
achimbab
938aa88e40
Validate arguments and unwrap arguments and the result to each columns.
2022-02-07 01:28:27 +09:00
Maksim Kita
60cc5fff56
Merge pull request #34344 from bharatnc/ncb/s2-fixes
...
explicitly check and get columns for s2 funcs
2022-02-06 17:24:52 +01:00
achimbab
ce40acefa9
Implement functions for minimum-sample-size-calculators
2022-02-06 22:12:22 +09:00
Maksim Kita
5f43fdbfd2
Merge pull request #34140 from bigo-sg/max_splits
...
Maxsplit argument for splitByChar.
2022-02-06 13:38:14 +01:00
Maksim Kita
7492280ada
Merge pull request #34334 from bigo-sg/alias_function
...
REGEXP_MATCHES and REGEXP_REPLACE function aliases for compatibility with PostgreSQL.
2022-02-06 13:37:56 +01:00
bharatnc
d666b2250c
fix failing tests
2022-02-05 19:15:20 -08:00
bharatnc
008af0e0c2
update src/Functions/geoToS2.cpp
2022-02-05 19:07:25 -08:00
taiyang-li
5fc2e46dd0
make aliases case insensitive
2022-02-06 09:38:05 +08:00
bharatnc
3df4929b63
minor fixes
2022-02-05 16:45:12 -08:00
bharatnc
557cf6ecc1
check and get column remaining s2 funcs
2022-02-05 16:32:15 -08:00
bharatnc
8ba93354b0
check and get column for s2 funcs
2022-02-05 16:29:02 -08:00
taiyang-li
829a9a4d83
as alias functions
2022-02-05 19:44:21 +08:00
taiyang-li
b9c42effb4
change as requested
2022-02-05 19:30:40 +08:00
Maksim Kita
4646cac075
Fixed tests
2022-02-04 21:49:39 +00:00
Maksim Kita
b81d9d20b7
Fixed tests
2022-02-04 21:25:06 +00:00
Maksim Kita
1202fec927
Fixed tests
2022-02-04 20:25:30 +00:00
Maksim Kita
4c9ba1dfd7
Fixed tests
2022-02-04 19:52:18 +00:00
Maksim Kita
a5306396dd
Function mapPopulateSeries refactoring
2022-02-04 14:53:22 +00:00
cmsxbc
9f9fce07e2
Merge branch 'master' into addressToLineWithInlines
2022-02-04 20:43:00 +08:00
Alexander Tokmakov
6a646b413e
fix
2022-02-04 00:40:17 +03:00
Alexander Tokmakov
ca5f951558
Merge branch 'master' into mvcc_prototype
2022-02-03 18:56:44 +03:00
Anton Popov
836a348a9c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-01 15:23:07 +03:00
cmsxbc
8b916a67e5
Merge branch 'master' into addressToLineWithInlines
2022-02-01 19:37:18 +08:00
Azat Khuzhin
bedf208cbd
Use fmt::runtime() for LOG_* for non constexpr
...
Here is oneliner:
$ gg 'LOG_\(DEBUG\|TRACE\|INFO\|TEST\|WARNING\|ERROR\|FATAL\)([^,]*, [a-zA-Z]' -- :*.cpp :*.h | cut -d: -f1 | sort -u | xargs -r sed -E -i 's#(LOG_[A-Z]*)\(([^,]*), ([A-Za-z][^,)]*)#\1(\2, fmt::runtime(\3)#'
Note, that I tried to do this with coccinelle (tool for semantic
patchin), but it cannot parse C++:
$ cat fmt.cocci
@@
expression log;
expression var;
@@
-LOG_DEBUG(log, var)
+LOG_DEBUG(log, fmt::runtime(var))
I've also tried to use some macros/templates magic to do this implicitly
in logger_useful.h, but I failed to do so, and apparently it is not
possible for now.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: manual fixes
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Anton Popov
aab6ef60b2
better performance of parsing json data
2022-02-01 14:17:29 +03:00
Alexander Tokmakov
2e4ae37d98
Merge branch 'master' into mvcc_prototype
2022-02-01 13:20:03 +03:00
youenn lebras
9ec7e61f5f
Add Unsigned version for Int8, Int16, Int32, Int64 for SS4.2 and AVX2 (aka AVX256)
2022-01-31 12:15:20 +01:00
youenn lebras
c0864e6cd9
Update branch - Merge master
2022-01-31 10:22:25 +01:00
Maksim Kita
5ef83deaa6
Update sort to pdqsort
2022-01-30 19:49:48 +00:00
taiyang-li
e9c435a23f
fix style
2022-01-30 13:23:11 +08:00
taiyang-li
c9d5251e12
finish dev
2022-01-30 09:10:27 +08:00
Anton Popov
78b9f15abb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-30 03:24:37 +03:00
taiyang-li
5228a3e421
commit again
2022-01-29 23:42:04 +08:00
Alexander Tokmakov
fb9b2d5326
Merge branch 'master' into mvcc_prototype
2022-01-28 21:18:36 +03:00
mergify[bot]
81c841a89c
Merge branch 'master' into addressToLineWithInlines
2022-01-28 08:20:48 +00:00
mergify[bot]
ebbfc0fd2f
Merge branch 'master' into remove-decimal-padded-pod-array
2022-01-27 20:12:41 +00:00
alexey-milovidov
5a4ad04ae6
Merge pull request #33505 from zvonand/issue_14648
...
Fix fromUnixTimestamp64 functions
2022-01-27 22:54:53 +03:00
Maksim Kita
24267c8cfb
Fixed tests
2022-01-27 16:02:31 +00:00
Nikolay Degterinsky
c5ca5b608e
Merge pull request #33314 from evillique/classification
...
Merge functions for text classification
2022-01-27 17:15:08 +03:00
mergify[bot]
61ac72ca32
Merge branch 'master' into addressToLineWithInlines
2022-01-27 12:02:56 +00:00
Maksim Kita
af5ad2f370
Remove DecimalPaddedPODArray
2022-01-27 10:07:53 +00:00
Anton Popov
90b74c2aeb
better unflattenTuple
2022-01-27 03:24:34 +03:00
zvonand
1384f9e89d
moved common code out of template
2022-01-26 20:15:34 +03:00
RogerYK
6fab7ec882
Merge remote-tracking branch 'upstream/master' into fix-substring-negative-offset-length
2022-01-26 19:42:08 +08:00
zvonand
3879137994
Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648
2022-01-26 12:33:21 +03:00
cmsxbc
c3e541376d
fix style: add pragma once
2022-01-26 00:47:43 +08:00
cmsxbc
4c34d8f563
fix function names
2022-01-26 00:30:27 +08:00
cmsxbc
4d7073ceed
1. generic addressToLine and addressToLineWithInlines, 2. improve addressToLineWithInlines document
2022-01-26 00:20:19 +08:00
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines
2022-01-25 19:13:47 +08:00
Nikolay Degterinsky
5edbae6734
Merge branch 'master' into classification
2022-01-25 10:22:47 +00:00
Kruglov Pavel
ed43abbaeb
Update FunctionsConversion.h
2022-01-25 12:32:21 +03:00
avogar
ad01d68f36
Fix parsing IPv6 from query parameter and fix IPv6 to string conversion
2022-01-25 10:09:17 +03:00
zvonand
3594cdbeeb
updated dt64 value return
2022-01-23 23:06:32 +03:00
zvonand
86cc9419ba
Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648
2022-01-23 22:30:31 +03:00
Maksim Kita
818966c1a2
Merge pull request #33921 from bharatnc/ncb/h3-improve
...
explicitly checkAndGetColumn for remaining H3 funcs
2022-01-23 18:08:30 +01:00
bharatnc
6faad9366b
fix tests
2022-01-23 06:29:57 -08:00
Maksim Kita
711451f497
Merge pull request #33916 from kitaisreal/function-math-unary-remove-macro
...
FunctionMathUnary remove macro usage
2022-01-23 13:34:09 +01:00
bharatnc
d91caa0d3f
better arg check for h3kRing func
2022-01-23 00:45:40 -08:00
bharatnc
12d135346c
fix build
2022-01-22 23:48:53 -08:00
bharatnc
59ecdeb3ef
fixes to exception message
2022-01-22 23:05:06 -08:00
bharatnc
7d62593bb1
h3 remaining funcs checkAndGetColumn
2022-01-22 23:02:14 -08:00
bharatnc
d2bc0712f7
h3 explicitly checkAndGetColumn
2022-01-22 23:02:14 -08:00
Maksim Kita
333bd24aca
Fixed tests
2022-01-23 00:09:29 +00:00
Maksim Kita
4be393fba5
Support cast from Map to Array of Tuple
2022-01-22 20:40:18 +00:00
Maksim Kita
ee146b555f
FunctionMathUnary remove macro usage
2022-01-22 18:44:36 +00:00
Maksim Kita
4100512818
Merge pull request #33621 from bharatnc/ncb/h3-misc-funcs
...
add h3 misc functions - part 2
2022-01-22 12:20:06 +01:00
alexey-milovidov
8cabd373e1
Merge pull request #32170 from FrankChen021/hex
...
Allows hex() to work on type of UUID
2022-01-22 13:03:22 +03:00
alexey-milovidov
eb6849f7c7
Merge pull request #33842 from azat/cmake-contrib-fixes
...
More cmake external modules cleanups
2022-01-22 10:34:54 +03:00
bharatnc
9f17706f62
better fix for build failure
2022-01-21 12:36:12 -08:00
bharatnc
526f350ce2
fix build failure
2022-01-21 11:29:16 -08:00
Anton Popov
e8ce091e68
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-21 20:11:18 +03:00
bharatnc
6f9b82dd2c
update src/Functions/h3HexAreaM2.cpp
2022-01-21 08:47:22 -08:00
bharatnc
6de6c1c5bf
use UInt8 for resolution
2022-01-21 08:30:48 -08:00
bharatnc
e418bf9f65
update src/Functions/h3EdgeLengthM.cpp
2022-01-21 08:28:31 -08:00
Alexander Tokmakov
e3b1397001
Merge branch 'master' into mvcc_prototype
2022-01-21 18:59:01 +03:00
Kruglov Pavel
daba57a933
Merge pull request #33737 from Avogar/bool-type
...
Some improvements and fixes for Bool data type
2022-01-21 15:24:58 +03:00
Maksim Kita
a7f666c07b
FunctionBase64Conversion warning fix
2022-01-21 11:26:39 +00:00
Maksim Kita
ace483fb5b
Merge pull request #33769 from bharatnc/ncb/degrees-radians-funcs
...
add DEGREES and RADIANS funcs
2022-01-21 11:50:11 +01:00
Maksim Kita
1fd79e732b
Merge pull request #33852 from bharatnc/ncb/updates
...
updates to min2 and max2 funcs
2022-01-21 11:37:13 +01:00
RogerYK
93c58c25e0
Fix substring negative offset length
2022-01-21 18:04:59 +08:00
Azat Khuzhin
e81586cd8d
contrib/murmurhash: add ALIAS library
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
dc7affd813
contrib/libmetrohash: add ALIAS library
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
03fc3895bd
contrib/libdivide: add ALIAS library
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
81880ac20c
contrib/consistent-hashing: add ALIAS library
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:22 +03:00
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
Alexander Tokmakov
0ea0a8ccc7
Merge branch 'master' into mvcc_prototype
2022-01-20 17:05:55 +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
Alexander Tokmakov
e9a5a64a71
Merge branch 'master' into mvcc_prototype
2022-01-19 21:41:23 +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