Commit Graph

3016 Commits

Author SHA1 Message Date
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
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
Alexander Tokmakov
2e4ae37d98 Merge branch 'master' into mvcc_prototype 2022-02-01 13:20:03 +03:00
Maksim Kita
5ef83deaa6 Update sort to pdqsort 2022-01-30 19:49:48 +00:00
Alexander Tokmakov
fb9b2d5326 Merge branch 'master' into mvcc_prototype 2022-01-28 21:18:36 +03: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
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
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
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
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