Commit Graph

6880 Commits

Author SHA1 Message Date
Raúl Marín
8e26c4460b Make transform always return the first match 2024-04-10 23:39:47 +02:00
loselarry
7774a2a313 chore: fix some comments
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 17:21:25 +08:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2 2024-04-09 11:45:27 +00:00
Kruglov Pavel
49ba81a5f9
Merge pull request #62417 from Avogar/dot-product-overflow
Don't check overflow in  arrayDotProduct in undefined sanitizer
2024-04-09 10:17:58 +00:00
avogar
b318091528 Don't check overflow in dotProduct in undefined sanitizer 2024-04-08 17:17:04 +00:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Alexey Milovidov
664823463b Do not create a directory for UDF in clickhouse-client if it does not exist 2024-04-06 21:46:43 +02:00
Raúl Marín
7df11b1852
Merge pull request #62264 from Algunenano/nested_includes_Ñ
Remove more nested includes
2024-04-05 17:00:28 +02:00
Kruglov Pavel
47b9eb2cb2
Merge pull request #62005 from Avogar/better-string-to-variant
Better conversion from String to Variant
2024-04-05 15:26:14 +02:00
Kruglov Pavel
bdda4e31fb
Merge pull request #62305 from Avogar/fix-scalar-data-race
Fix data race on scalars in Context
2024-04-05 15:24:26 +02:00
Alexey Milovidov
dd6e5be27b
Merge pull request #62288 from ClickHouse/fix-morton
Fix `mortonEncode` `use-of-uninitialized-value`
2024-04-05 13:32:22 +02:00
avogar
0f5a3eae7e Better 2024-04-04 20:00:22 +00:00
Antonio Andelic
9e1d8b8aaa Fix mortonEncode with no rows 2024-04-04 15:22:09 +02:00
Raúl Marín
276246ee97 Introduce IAggregateFunction_fwd to reduce header dependencies 2024-04-04 12:29:54 +02:00
Robert Schulze
d5229da1ec
Fix tidy build 2024-04-04 09:09:03 +00:00
Robert Schulze
d905b83369
Fix something bad 2024-04-03 20:12:22 +00:00
Robert Schulze
9626506585
More fixes 2024-04-03 19:18:31 +00:00
Robert Schulze
de2a0be025
Don't access static members through instance
- clang-tidy rightfully complains (-readability-static-accessed-through-instance)
- not going to enable the warning for now to avoid breaking the build
2024-04-03 18:50:33 +00:00
Raúl Marín
11eb872ac6 Remove more nested includes 2024-04-03 19:06:36 +02:00
Kruglov Pavel
f8ef9fc5d3
Merge pull request #62014 from Avogar/json-extract-variant
Support Variant in JSONExtract functions
2024-04-03 17:20:53 +02:00
avogar
56b5b5e171 Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-string-to-variant 2024-04-03 15:20:21 +00:00
Nikita Mikhaylov
6661484e55
Proper fix for LowCardinality together with JSONExtact functions (#61957) 2024-04-03 16:31:01 +02:00
Raúl Marín
772bd84433
Merge pull request #62170 from Algunenano/nested_includes_N
Remove a few nested include dependencies
2024-04-03 12:19:25 +02:00
Raúl Marín
c35a436435 Remove nested dependency on DateLutImpl 2024-04-02 14:45:48 +02:00
Kruglov Pavel
fd58e4d08b
Better String to Variant(String) conversion 2024-04-02 13:41:56 +02:00
Robert Schulze
84f929ca4e
Merge pull request #61409 from ClibMouse/feature/dateDiff-nanoseconds
Calculate result of `date_diff`/`age` at nanosecond precision
2024-04-02 13:18:19 +02:00
Raúl Marín
b2e764f633 Revert "Merge pull request #61564 from liuneng1994/optimize_in_single_value"
This reverts commit 20a45b4073, reversing
changes made to a642f4d3ec.
2024-04-01 13:51:56 +02:00
Kruglov Pavel
facde7541f
Merge pull request #61567 from Avogar/fix-analyzer-group-by-use-nulls
Fix logical error in group_by_use_nulls + grouping set + analyzer + materialize/constant
2024-03-28 14:38:11 +01:00
Kruglov Pavel
9b5b44dd5f
Merge pull request #61889 from Avogar/allow-to-save-bad-json-escape-sequences
Add a setting to allow saving bad escape sequences in JSON input formats
2024-03-28 14:34:02 +01:00
avogar
75be74874e Fix include 2024-03-27 22:27:27 +00:00
avogar
c39cd75dff Support Variant in JSONExtract functions 2024-03-27 22:15:29 +00:00
avogar
90144f7ae4 Fix style 2024-03-27 21:31:15 +00:00
avogar
df06619399 Better conversion from String to Variant 2024-03-27 20:40:26 +00:00
Nikita Mikhaylov
414bccc527
Revert "disallow LowCardinality input type for JSONExtract" (#61960) 2024-03-27 12:06:50 +01:00
Austin Kothig
c15993220f
Merge remote-tracking branch 'upstream' into feature/dateDiff-nanoseconds 2024-03-26 09:04:23 -07:00
jsc0218
0eb12d2d27
Merge pull request #61888 from jsc0218/No_milli_micro_nanosecod_in_date_trunc
no smaller unit in date_trunc
2024-03-26 11:15:35 -04:00
Nikolai Kochetov
2f382ac8a8
Merge pull request #61787 from ClickHouse/fix-virtual-columns-storage-merge-analyzer
Fix more tests with virtual columns in StorageMerge.
2024-03-26 11:16:25 +01:00
Alexey Milovidov
7282c5dbf6
Merge pull request #61848 from ClickHouse/geodistance-double-precision
Double precision of geoDistance if the arguments are Float64
2024-03-26 02:58:07 +03:00
avogar
dc87c483dd Add a setting to allow saving bad escape sequences in JSON input formats 2024-03-25 21:58:53 +00:00
jsc0218
faf82d53b3 no smaller unit in date_trunc 2024-03-25 20:56:00 +00:00
Julia Kartseva
a24b76c02e
Merge pull request #61617 from jkartseva/json-disallow-low-cardinality
disallow LowCardinality input type for JSONExtract
2024-03-25 10:21:36 -07:00
Alexey Milovidov
c2209c997c
Merge branch 'master' into geodistance-double-precision 2024-03-25 17:49:32 +03:00
Alexey Milovidov
24261476c4
Merge pull request #61820 from ClickHouse/get-client-http-header
Add a new function `getClientHTTPHeader`
2024-03-25 17:48:24 +03:00
Alexey Milovidov
21a0d17637
Merge branch 'master' into geodistance-double-precision 2024-03-25 17:47:42 +03:00
Alexey Milovidov
d45a6fe9b9 Fix tidy 2024-03-25 15:46:55 +01:00
Nikolai Kochetov
6d5f2cd7b5 Cleanup 2024-03-25 12:44:28 +00:00
Yarik Briukhovetskyi
20a45b4073
Merge pull request #61564 from liuneng1994/optimize_in_single_value
New analyzer pass to optimize in single value
2024-03-25 12:53:01 +01:00
Nikolai Kochetov
abe78e1a7b Merge branch 'master' into fix-virtual-columns-storage-merge-analyzer 2024-03-25 10:43:23 +00:00
Alexey Milovidov
8cf4c3bd3f Fix tidy 2024-03-25 03:28:37 +01:00
Alexey Milovidov
c7a48f601a More tests 2024-03-25 03:12:11 +01:00