Commit Graph

6847 Commits

Author SHA1 Message Date
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
Nikita Mikhaylov
414bccc527
Revert "disallow LowCardinality input type for JSONExtract" (#61960) 2024-03-27 12:06:50 +01: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
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