taiyang-li
e759af2dd4
fix round bug
2022-02-13 18:52:25 +08: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
Anton Popov
18940b8637
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-09 23:38:38 +03:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines
2022-02-08 08:54:15 +08: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
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
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
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
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
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
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
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