Commit Graph

57264 Commits

Author SHA1 Message Date
Alexander Tokmakov
b17bfb16cd
Merge pull request #63695 from ClickHouse/flaten-nested-is-broken-with-replicated-database
flatten_nested is broken with replicated database.
2024-05-15 16:34:03 +00:00
Nikolai Kochetov
7f05ccaddf Update lambda execution name. Fix query tree hash calculation in case of empty database. 2024-05-15 16:20:42 +00:00
Raúl Marín
fc5961eaa7 Full tidy fix 2024-05-15 17:31:41 +02:00
Han Fei
7e1211035a fix tests 2024-05-15 17:24:56 +02:00
vdimir
80f39c44d3
Remove unnecessary logging statements in MergeJoinTransform.cpp 2024-05-15 15:15:15 +00:00
Alexey Milovidov
4ee342c9c3
Merge pull request #63810 from ClickHouse/trailing-comma-in-values
Allow trailing commas in the `Values` format
2024-05-15 14:55:00 +00:00
Alexey Milovidov
5242bf67c4
Merge pull request #63804 from ClickHouse/regexp-better-usability
Improve usability of the `Regexp` format
2024-05-15 14:48:32 +00:00
Alexey Milovidov
12eee94bfa
Merge pull request #63801 from ClickHouse/make-token-iterator-lazy-as-it-should-be
Make `TokenIterator` lazy as it should be
2024-05-15 14:46:41 +00:00
Alexey Milovidov
af0e185d51
Merge pull request #63803 from ClickHouse/trailing-comma-insert
Allow trailing commas in the columns list in INSERT query
2024-05-15 17:27:46 +02:00
Nikita Taranov
30bee3324c impl 2024-05-15 15:15:14 +01:00
Nikolai Kochetov
c93f363be8 Another attempt. 2024-05-15 13:56:56 +00:00
Nikita Mikhaylov
330af1c37a
Merge pull request #63806 from jkartseva/add-endpoint-subpath-to-plain-rw
Add `endpoint_subpath` S3 URI setting
2024-05-15 13:50:43 +00:00
Nikita Mikhaylov
8ec20e5e40
Merge pull request #63786 from ClickHouse/keywords-suggestion
Fix suggestions loading for old version of ClickHouse server
2024-05-15 13:49:57 +00:00
Han Fei
36974a5423 address comments 2024-05-15 15:41:43 +02:00
Nikolai Kochetov
c83322525b
Merge pull request #63753 from ClickHouse/support-cast-from-empty-array-to-map-nothing
Allow cast from Array(Nothing) to Map(Nothing, Nothing)
2024-05-15 13:38:54 +00:00
vdimir
bcd1c4fd28
Merge pull request #63755 from ClickHouse/vdimir/pmj_join_non_procssed_clash
Fix ILLEGAL_COLUMN in partial_merge join
2024-05-15 12:46:30 +00:00
Alexander Gololobov
6b6374feb8
fix typo 2024-05-15 14:38:10 +02:00
Han Fei
171bf4f201 Merge branch 'master' into hanfei/fix-intersection 2024-05-15 13:59:52 +02:00
Raúl Marín
3f789bbfa3 Review comments 2024-05-15 13:53:02 +02:00
Sema Checherinda
c860e19380 clickhouse disks reads server configs 2024-05-15 13:41:34 +02:00
Igor Nikonov
7a929963f1
Merge pull request #63776 from ClickHouse/fix-redundant-distinct-with-window
Fix: remove redundant distinct with window functions
2024-05-15 11:37:48 +00:00
Raúl Marín
3eeb43297d Fix clang tidy 2024-05-15 13:26:43 +02:00
Yarik Briukhovetskyi
00c886133d
Merge pull request #63516 from zhongyuankai/group_array_limit_size
Add server setting `aggregate_function_group_array_has_limit_size`
2024-05-15 11:05:24 +00:00
Yarik Briukhovetskyi
1041af2be8
Merge pull request #63783 from yariks5s/update_settings_history
Changed the previous value of `output_format_pretty_preserve_border_for_multiline_string` setting
2024-05-15 11:01:38 +00:00
Kseniia Sumarokova
cd90655fa5
Merge pull request #63638 from ClickHouse/account-failed-files-in-ttl-and-files-limit-for-s3queue
S3Queue: account failed files in tracked_file_ttl_sec and traked_files_limit
2024-05-15 10:29:24 +00:00
Antonio Andelic
d4b3581792 Allow allocation during job data destructor call 2024-05-15 12:08:16 +02:00
Maksim Kita
28ee7244ce JOIN filter push down equivalent columns fix 2024-05-15 12:51:34 +03:00
Antonio Andelic
9744feb95e Fix deadlock in parallel read buffer 2024-05-15 11:02:10 +02:00
Alexey Milovidov
f88d294dd0 Allow trailing comma in the Values format 2024-05-15 06:01:49 +02:00
Julia Kartseva
acbe0cab0f Add endpoint_subpath S3 setting
Multiple plain_rewritable disks can share the same
endpoint, e.g., in the cloud system tables configuration.

At startup, a disk traverses the contents of a bucket to construct the
local-to-remote plain_rewritable mapping. A data race occurs when
another disk writes to the same bucket while the first disk is starting
up.

Introduce `endpoint_subpath` S3 setting, that will be unique for each
Pod instance in the cloud scenario.
2024-05-15 03:00:08 +00:00
Alexey Milovidov
89ef4e9b53 Improve usability of the Regexp format 2024-05-15 04:49:11 +02:00
Alexey Milovidov
ba547f3622
Merge pull request #63782 from RoryCrispin/patch-1
Settings typo
2024-05-15 02:48:27 +00:00
Alexey Milovidov
aebcbf6a84 Allow trailing comma in the columns list in INSERT query 2024-05-15 04:39:36 +02:00
Alexey Milovidov
d79fb39a90 Make TokenIterator lazy as it should be 2024-05-15 03:27:08 +02:00
Zimu Li
8545724fc1
Merge branch 'ClickHouse:master' into master 2024-05-14 16:14:07 -07:00
kssenii
7e1e4d6f28 Amendment 2024-05-14 21:55:36 +02:00
Kseniia Sumarokova
fab4217293
Merge pull request #63756 from ClickHouse/fix-disk-hidden-arg
Do not hide disk name
2024-05-14 19:47:20 +00:00
Michael Kolupaev
ab636fd7b4
Merge pull request #63734 from ClickHouse/neg
Fix insignificant UBSAN error in QueryAnalyzer::replaceNodesWithPositionalArguments()
2024-05-14 19:41:30 +00:00
Alexander Tokmakov
9eaf9004b7 Merge branch 'master' into rdb_auto_recovery 2024-05-14 20:35:00 +02:00
Alexander Tokmakov
bc98cc212c fix 2024-05-14 20:30:49 +02:00
Zimu Li
2da80eb250
Merge branch 'ClickHouse:master' into master 2024-05-14 11:04:23 -07:00
Nikolai Kochetov
1601115ff0
Merge pull request #63744 from ClickHouse/fix-resolve-matcher-in-array-join-lambda
Fix a bug in resolving matcher inside lambda inside ARRAY JOIN
2024-05-14 17:57:13 +00:00
Nikolai Kochetov
6a6688169a
Merge branch 'master' into fix-duplicating-sucling-alias 2024-05-14 19:56:03 +02:00
Nikolai Kochetov
b27c529548 Fix a query with duplicating cycling alias. 2024-05-14 17:51:21 +00:00
vdimir
53383396a3
Merge pull request #63432 from p1rattttt/external_cross_join
Added possibility to do cross join in temporary file if size exceeds limits
2024-05-14 17:15:47 +00:00
Nikita Mikhaylov
3f6cf3f005 Better 2024-05-14 16:42:26 +00:00
Yarik Briukhovetskyi
b4bf5c505a Changed the previous value of setting 2024-05-14 16:29:50 +00:00
Igor Nikonov
0f89be1c5c Fix 2024-05-14 16:14:06 +00:00
Nikita Mikhaylov
cad8fc58b0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into keywords-suggestion 2024-05-14 16:02:50 +00:00
Rory Crispin
b1514d5003
Settings typo 2024-05-14 16:58:56 +01:00
Nikita Mikhaylov
b472c07ab2 Done 2024-05-14 17:58:05 +02:00
Raúl Marín
f931f086cd Fix possible crash with SYSTEM UNLOAD PRIMARY KEY 2024-05-14 17:32:59 +02:00
Raúl Marín
6254a4fe32 Enforce some minimum sleep value 2024-05-14 16:55:19 +02:00
Igor Nikonov
4de0371320
Merge pull request #63685 from ClickHouse/pr-simple-cleanup
Parallel replicas: simple cleanup
2024-05-14 14:51:58 +00:00
Raúl Marín
525b3d9d61 Fix division by 0 2024-05-14 16:51:01 +02:00
zhongyuankai
d2d269117f Merge branch 'master' into group_array_limit_size 2024-05-14 22:31:30 +08:00
kssenii
cdf619b21e Review fixes 2024-05-14 16:30:31 +02:00
Raúl Marín
76f9eda99b
Merge pull request #63719 from Algunenano/better_ColumnString
Better asserts in ColumnString.h
2024-05-14 14:29:35 +00:00
Raúl Marín
81951354e8
Merge pull request #63718 from Algunenano/uniq
Add missing explicit instantiations of ColumnUnique
2024-05-14 14:29:15 +00:00
Igor Nikonov
a7898c85b8 Fix: remove redundant distinct with window functions 2024-05-14 14:27:36 +00:00
Raúl Marín
33885b27bf Fix fuzzer when only explicit faults are used 2024-05-14 16:25:12 +02:00
jsc0218
3af24dacf8
Merge pull request #63692 from ClickHouse/cleanup-select-ranges-to-read
selectRangesToRead() simple cleanup
2024-05-14 13:28:54 +00:00
Dmitry Novik
7de852fccc
Merge pull request #63694 from ClickHouse/analyzer-small-fix
Analyzer: Forbid WINDOW redefinition
2024-05-14 12:43:43 +00:00
Kruglov Pavel
7ce3302af0
Merge pull request #62430 from HowePa/output_format_npy
Add Npy output format
2024-05-14 11:55:33 +00:00
Nikolai Kochetov
5f91cb6dd7
Merge pull request #63702 from ClickHouse/add-fuzzed-analyzer_join_with_constants
Fix fuzzed analyzer_join_with_constant query
2024-05-14 11:26:15 +00:00
Han Fei
0605105a77
Merge pull request #63754 from arthurpassos/remove_unused_cares_method
Remove unused CaresPTRResolver::cancel_requests method
2024-05-14 11:16:17 +00:00
kssenii
8774fd2a1b Fix 2024-05-14 13:09:56 +02:00
vdimir
b872162dea
Fix ILLEGAL_COLUMN in partial_merge join 2024-05-14 11:08:41 +00:00
Arthur Passos
4013195a64 remove unused cancel_requests method 2024-05-14 12:53:31 +02:00
Nikolai Kochetov
3eec3f8675 Allow cast from Array(Nothing) to Map(Nothing, Nothing) 2024-05-14 10:42:02 +00:00
vdimir
6ad0102604
Merge pull request #63277 from ClickHouse/vdimir/doc_allow_experimental_join_condition
More details about allow_experimental_join_condition
2024-05-14 10:30:18 +00:00
Nikolai Kochetov
7a7002529b Fix a bug in resolving matcher inside lambda inside ARRAY JOIN 2024-05-14 09:54:22 +00:00
Nikolai Kochetov
03b47ddcbd
Merge pull request #63688 from kitaisreal/analyzer-view-read-only-necessary-columns
Analyzer view read only necessary columns
2024-05-14 09:25:08 +00:00
Nikolai Kochetov
6315c32407
Merge pull request #63722 from ClickHouse/fix-63653
Fix #63653
2024-05-14 09:07:31 +00:00
Sergei Trifonov
c1f853d92a
Merge pull request #62165 from ClickHouse/intrusive-list-scheduler-queues
Use intrusive lists for `ResourceRequest` instead of deque
2024-05-14 09:06:15 +00:00
vdimir
d3f03e9c94
More details about allow_experimental_join_condition 2024-05-14 08:57:56 +00:00
p1rattttt
937107fb6b
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-14 11:55:13 +03:00
vdimir
6f74bebb48
Merge pull request #63405 from ClickHouse/vdimir/group_by_use_nulls_fixes
Small fixes for group_by_use_nulls
2024-05-14 08:45:20 +00:00
Michael Kolupaev
710ceae903 Fix insignificant ubsan error in QueryAnalyzer::replaceNodesWithPositionalArguments() 2024-05-14 08:37:27 +00:00
Michael Kolupaev
f5decc7ac3
Merge pull request #63730 from ClickHouse/nomaps
Userspace page cache: don't collect stats if cache is unused
2024-05-14 08:30:03 +00:00
Antonio Andelic
224dad9e16
Merge pull request #63687 from ClickHouse/read-s3-proper-cancel
Cancel S3 reads properly when parallel reads are used
2024-05-14 08:20:04 +00:00
Antonio Andelic
95aa9af3c1
Merge pull request #62377 from skyoct/feat/func_clamp
support clamp function
2024-05-14 08:09:02 +00:00
豪肥肥
72fa329808
Merge branch 'ClickHouse:master' into output_format_npy 2024-05-14 11:07:46 +08:00
Zimu Li
c6eea55430
Merge branch 'ClickHouse:master' into master 2024-05-13 20:02:49 -07:00
Michael Kolupaev
f6cc1051c1 Fix 2024-05-14 00:29:52 +00:00
Michael Kolupaev
bdc82b61f5 Userspace page cache: don't collect stats if cache is unused 2024-05-13 23:43:20 +00:00
Michael Kolupaev
0fd52c36c6
Merge pull request #61632 from bigo-sg/opt_string_ascii
Process string functions XXXUTF8 'asciily' if input strings are all ascii chars
2024-05-13 22:13:01 +00:00
kssenii
cab2c160fe Fix log level 2024-05-13 21:39:34 +02:00
Raúl Marín
61fb090850 Merge remote-tracking branch 'blessed/master' into micro_analyzer 2024-05-13 20:46:48 +02:00
Nikolai Kochetov
7e5fc0d61d Fix #63653 2024-05-13 18:05:59 +00:00
Nikolai Kochetov
ebd0865fb0
Merge pull request #62922 from ClickHouse/more-cases-for-group-by-use-nulls
group_by_use_nulls strikes back
2024-05-13 18:00:33 +00:00
Maxim Alexeev
9c2e1bfce6 fixed review 2024-05-13 19:39:45 +03:00
Raúl Marín
68e76aefc1 Better asserts in ColumnString.h 2024-05-13 18:25:32 +02:00
Raúl Marín
c1a03eca6f Add missing explicit instantiations of ColumnUnique 2024-05-13 18:22:59 +02:00
p1rattttt
0bd39b86d5
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-13 19:06:59 +03:00
kssenii
4b270e9078 Add a test 2024-05-13 17:15:26 +02:00
Nikolai Kochetov
bd8cad1d8e Fix fuzzed analyzer_join_with_constant query 2024-05-13 15:10:51 +00:00
Alexander Tokmakov
8bb24e6a36
Update InterpreterCreateQuery.cpp 2024-05-13 17:00:14 +02:00
Alexander Tokmakov
7ffd71d77b
Update InterpreterCreateQuery.cpp 2024-05-13 16:17:18 +02:00
Igor Nikonov
7b043b9d9a Merge remote-tracking branch 'origin/master' into pr-simple-cleanup 2024-05-13 13:33:55 +00:00