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
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
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
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
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