taiyang-li
bdd98e9e31
change as requested
2024-04-10 11:05:55 +08:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2
2024-04-09 11:45:27 +00:00
vdimir
4ce35b1fe6
Fix __actionName, add tests for internal functions direct call
2024-04-09 10:54:53 +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
taiyang-li
02e0f41b57
fallback splitByRegexp to splitByChar if needed
2024-04-09 11:37:35 +08:00
taiyang-li
57f94d6a66
change as requested
2024-04-09 10:54:20 +08:00
avogar
b318091528
Don't check overflow in dotProduct in undefined sanitizer
2024-04-08 17:17:04 +00:00
Robert Schulze
b8b74ff815
Suppress msan false positives
2024-04-08 11:03:35 +00:00
Robert Schulze
dca6e0abbd
Fix the build (after boringssl submodule removal)
2024-04-08 11:02:41 +00:00
taiyang-li
b402a9bed2
improve splitByChar
2024-04-08 18:18:46 +08:00
taiyang-li
c67fe52e6d
improve memchr allowing overflow
2024-04-08 17:55:28 +08:00
taiyang-li
97b4c79d02
first opt
2024-04-08 16:28:20 +08: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
Misz606
497e3bb48f
Added nanoseconds and milliseconds for date trunc.
2024-04-05 09:03:46 -04: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
Alexey Milovidov
a2a90467ed
Better
2024-03-25 03:11:19 +01:00
Alexey Milovidov
65650809b4
Double precision of geoDistance if the arguments are Float64
2024-03-24 23:11:35 +01:00
Nikolai Kochetov
e6242891be
Merge branch 'master' into fix-analyzer-group-by-use-nulls
2024-03-24 11:41:14 +00:00
Alexey Milovidov
08b7dd9591
Merge branch 'master' into get-client-http-header
2024-03-24 00:54:25 +01:00
Alexey Milovidov
5651c187cc
Merge pull request #61770 from yariks5s/add_current_user_mysql_alias
...
Add `current_user` alias
2024-03-24 01:51:18 +03:00
Alexey Milovidov
78d3351552
Add function getClientHTTPHeader, part 3
2024-03-23 21:48:28 +01:00
Alexey Milovidov
965a3ac2f3
Add function getClientHTTPHeader, part 2
2024-03-23 21:19:35 +01:00
Nikolai Kochetov
dd87e5793f
Merge branch 'master' into fix-analyzer-group-by-use-nulls
2024-03-22 18:24:02 +00:00
Raúl Marín
2377b1eb29
FML
2024-03-22 17:55:50 +01:00
Nikolai Kochetov
5207526910
Fix more tests with wirtual columns in StorageMerge.
2024-03-22 16:55:01 +00:00
Raúl Marín
7be46e117c
Remove another batch of bad templates
2024-03-22 15:00:08 +01:00
yariks5s
5c082a8cc5
init
2024-03-22 13:19:18 +00:00
Raúl Marín
5770fd75da
Merge pull request #61733 from Algunenano/trash_templates
...
FunctionsConversion: Start simplifying templates
2024-03-22 12:23:39 +01:00
Alexey Milovidov
5c0c43aa55
Merge branch 'master' into fix-crash-in-window-view
2024-03-22 04:11:15 +03:00
Raúl Marín
54c5ea8d6d
FunctionsConversion: Remove some templates
2024-03-21 21:14:24 +01:00
Alexey Milovidov
4d113c2190
Merge pull request #61508 from ClickHouse/generic-clickhouse-local-fuzzer
...
Generic fuzzer of query text in clickhouse-local
2024-03-21 21:17:28 +03:00
Alexey Milovidov
ccd34a269b
Merge pull request #61523 from ClickHouse/fix-infinite-loop-hop
...
Fix infinite loop in function `hop`
2024-03-21 21:10:02 +03:00
Alexey Milovidov
9586595849
Fix clang-tidy
2024-03-21 19:09:40 +01:00
Alexey Milovidov
e3c6e62dbb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-crash-in-window-view
2024-03-21 19:08:29 +01:00
Vitaly Baranov
1acc0ebe79
Merge pull request #61356 from vitlibar/fix-replace-dictionary
...
Fix CREATE OR REPLACE DICTIONARY
2024-03-21 16:45:06 +01:00
Shuai li
48cb228c9a
Fix addDays cause an error when used datetime64 ( #61561 )
...
* Fix addDays cause an error when used datetime64
* add exception describe
* Update tests/queries/0_stateless/03013_addDays_with_timezone.sql
* remove file be executable
* fix timezone
* fix ci
---------
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-03-21 14:47:29 +01:00
Julia Kartseva
8d9a58c936
LowCardinalityFixedStringColumn: allow generic types
...
Fix tests and add new ones.
2024-03-21 04:16:28 +00:00
Alexey Milovidov
784de2dca3
Merge branch 'master' into generic-clickhouse-local-fuzzer
2024-03-21 03:18:05 +01:00
Alexey Milovidov
9a1271c9d1
Merge branch 'master' into fix-infinite-loop-hop
2024-03-21 04:47:41 +03:00
Alexey Milovidov
3698c0c2cf
Fix build
2024-03-21 02:46:03 +01:00
Alexey Milovidov
932ef55497
Merge branch 'master' into fix-crash-in-window-view
2024-03-21 03:54:40 +03:00
Julia Kartseva
dcaa712451
disallow LowCardinality input type for JSONExtract
...
Workaraund for a memory corruption issue
https://github.com/ClickHouse/ClickHouse/issues/61562
It seems that the root cause lies not within the parser itself,
but rather either with the
Columns/ColumnLowCardinality or Functions/IFunction code paths.
2024-03-20 22:42:50 +00:00
Alexey Milovidov
200d8165ce
Merge branch 'master' into generic-clickhouse-local-fuzzer
2024-03-20 19:51:26 +01:00
Austin Kothig
cefdbfb7c3
Applying feedback.
2024-03-20 07:05:49 -07:00
Raúl Marín
c98634ad8c
Merge remote-tracking branch 'blessed/master' into nested_includes
2024-03-20 14:08:10 +01:00
Raúl Marín
a1c08b256a
Merge pull request #61539 from Algunenano/arrayPartialReverseSort
...
Fix crash in arrayPartialReverseSort
2024-03-20 12:37:32 +01:00
Raúl Marín
6c7be89c61
Merge pull request #61100 from Algunenano/experiment_int128
...
30x faster printing for 256-bit integers
2024-03-20 12:32:26 +01:00
liuneng
d2d5f3b323
add not in
2024-03-20 17:46:07 +08:00
Robert Schulze
939f4b6db0
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-20 09:20:31 +00:00
Alexey Milovidov
7b7e260585
Merge remote-tracking branch 'origin/master' into generic-clickhouse-local-fuzzer
2024-03-20 01:28:28 +01:00
avogar
bd7c13c1b6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-analyzer-group-by-use-nulls
2024-03-19 19:29:49 +00:00
Raúl Marín
de855ca917
Reduce header dependencies
2024-03-19 17:04:29 +01:00
János Benjamin Antal
922df7d60e
Merge pull request #61003 from amosbird/less-header-1
...
Replace some header includes with forward declarations
2024-03-19 12:14:06 +01:00
avogar
462445c2c2
Fix logical error in group_by_use_nulls + analyzer + materialize/constant
2024-03-19 10:41:23 +00:00
Antonio Andelic
ef7395a81d
Merge pull request #61547 from ClickHouse/fix-position-const-position
...
Fix string search with const position
2024-03-19 11:38:07 +01:00
Antonio Andelic
f1f2923515
Merge pull request #61527 from ClickHouse/repeat-wide-integers
...
Fix `repeat` with non native integers
2024-03-19 08:56:45 +01:00
Vitaly Baranov
c8375cd167
Better code: remove unnecessary usage of const_cast and std::function.
2024-03-19 02:56:38 +01:00