Commit Graph

38709 Commits

Author SHA1 Message Date
Igor Nikonov
e82f7b9622 Polishing 2023-03-13 21:47:21 +00:00
Igor Nikonov
4239bfb586 FillingNoopTransform for totals stream 2023-03-13 21:47:21 +00:00
Igor Nikonov
85b0c5a1a4 Remove TOTALS handling in FillTransform 2023-03-13 21:47:21 +00:00
Alexey Milovidov
14647525f8 Merge branch 'fix-bson-bug' of github.com:Avogar/ClickHouse into fuzzer-of-data-formats 2023-03-13 22:45:00 +01:00
Azat Khuzhin
3d247b8635 Preserve error in system.distribution_queue on SYSTEM FLUSH DISTRIBUTED
After refactoring in #45491 this behaviour had been changed, hence
01555_system_distribution_queue_mask became flaky, since if the flush
had not happened before SYSTEM FLUSH DISTRIBUTED the error was not saved
into the system.distribution_queue.

v2: Improve 01555_system_distribution_queue_mask test
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-13 20:07:55 +01:00
avogar
637d8d0f09 Fix BSONEachRow parallel parsing when document size is invalid 2023-03-13 18:52:29 +00:00
Alexey Milovidov
741acf18c3
Merge branch 'master' into disable-logical-expression-optimizer-with-aliases 2023-03-13 21:41:55 +03:00
Dmitry Novik
6f99adcdaa Support constants in INTERPOLATE clause (new analyzer) 2023-03-13 18:41:14 +00:00
Alexey Milovidov
a411ae10b5
Merge pull request #47486 from ClickHouse/revert_25674
Remove "asynchronous connection drain"
2023-03-13 21:40:39 +03:00
avogar
278c76f85a Fix 2023-03-13 18:23:51 +00:00
avogar
4213ec609f Proper fix for bug in parquet, revert reverted #45878 2023-03-13 18:22:09 +00:00
Nikolai Kochetov
650427614f Fix block structure mismatch for nullable LowCardinality column with default expression. 2023-03-13 17:57:07 +00:00
Roman Vasin
36c639ed2f Fix grants hierarchy for temporary tables and comment about default engine 2023-03-13 16:39:15 +00:00
Antonio Andelic
914e0fbb0a Fix monotonic check with DateTime64 2023-03-13 16:30:32 +00:00
Alexander Tokmakov
ee6c18cbc6
Better error after failed Ordinary-to-Atomic conversion (#47487)
* better error on failed Ordinary-to-Atomic conversion

* fix test

* Update loadMetadata.cpp
2023-03-13 19:13:49 +03:00
flynn
81b04977fd Add INSTR as alias of posionCaseInsensitive for MySQL compatibility 2023-03-13 15:44:38 +00:00
Robert Schulze
1d8004756a
Cleanup: Reuse aliases instead of redeclaring it 2023-03-13 15:11:12 +00:00
Robert Schulze
657aa65446
Cleanup: Untangle CacheBase's constructors
This prepares for the custom TTLCachePolicy which users should not be
able to configure explicitly.
2023-03-13 15:11:12 +00:00
Nikita Mikhaylov
f0b514acae Better 2023-03-13 15:20:01 +01:00
Nikolai Kochetov
ceeb36b596
Merge branch 'master' into disable-logical-expression-optimizer-with-aliases 2023-03-13 15:12:02 +01:00
Nikolai Kochetov
67424edbf0
Merge pull request #47180 from k-morozov/indices-storage-memory/update-read
Update read in StorageMemory
2023-03-13 14:40:35 +01:00
Anton Popov
739c8988dd
Merge pull request #46830 from ClickHouse/fix-url-progress-bar
Fix progress bar with URL
2023-03-13 13:53:40 +01:00
vdimir
9f220054c8
Fix build 2023-03-13 10:49:51 +00:00
Vladimir C
9cb018545c
Merge pull request #47499 from FrankChen021/span_kind 2023-03-13 11:35:03 +01:00
Antonio Andelic
04ba321ebd Fix unit test build 2023-03-13 10:28:40 +00:00
Antonio Andelic
4013bc9255 Merge branch 'master' into add-expiration-window-s3 2023-03-13 10:21:39 +00:00
Robert Schulze
475415e421
Cleanup: Move on_weight_loss_function into concrete cache policies
Makes ICachePolicy a pure abstract interface
2023-03-13 09:20:07 +00:00
Robert Schulze
d165a15c58
Cleanup: Simplify some typedefs 2023-03-13 09:20:02 +00:00
Robert Schulze
614810e471
Cleanup: Fix file name typo 2023-03-13 09:19:58 +00:00
Robert Schulze
9f6cb98c61
Cleanup: Remove default parameters from (S)LRUCachePolicy
Allows to add new mandatory parameters without accidentally breaking
something.
2023-03-13 09:19:55 +00:00
Robert Schulze
39898fbe64
Cleanup: max_elements_size --> max_entries
To disambiguate the maximum number of entries from the maximum byte size
of an entry.
2023-03-13 09:19:51 +00:00
Robert Schulze
7d5bc0d8c9
Cleanup: TrivialWeightFunction --> EqualWeightFunction
A true "trival" weight function would return .size() of the cache entry.
2023-03-13 09:19:45 +00:00
Robert Schulze
c300f5e68f
Cleanup: max_size --> max_size_in_bytes
To disambiguate the threshold from the maximum number of cache entries.
2023-03-13 09:19:39 +00:00
SmitaRKulkarni
9a35a434f8
Merge branch 'master' into Backup_Restore_concurrency_check_node 2023-03-13 10:04:32 +01:00
Smita Kulkarni
0d45443cb0 Fix for clang-tidy build 2023-03-13 09:18:44 +01:00
Alexey Milovidov
1fd24c212b Update comment 2023-03-13 07:42:58 +01:00
Alexey Milovidov
38d5635bf2 Fix too large size in quantiles 2023-03-13 07:40:56 +01:00
Alexey Milovidov
2e3aa98535 Add a test, fix logical errors 2023-03-13 06:46:19 +01:00
Alexey Milovidov
02f7ef4723 Update comment 2023-03-13 05:28:06 +01:00
Alexey Milovidov
43b938d303 Update the fuzzer 2023-03-13 05:21:48 +01:00
Alexey Milovidov
f33b651686 Add fuzzer for data formats 2023-03-13 04:51:50 +01:00
Frank Chen
868756ea76 Fix style 2023-03-13 09:40:55 +08:00
Konstantin Morozov
b287e4ae07
Merge branch 'master' into indices-storage-memory/update-read 2023-03-12 22:13:19 +01:00
Alexey Milovidov
278b8f74c2
Merge pull request #47492 from ClickHouse/revert-45878
Revert #45878 and add a test
2023-03-12 23:43:06 +03:00
Alexey Milovidov
f445649845
Merge branch 'master' into rs/compile-with-cpp23 2023-03-12 21:33:20 +03:00
Alexey Milovidov
b6169552b0 Merge branch 'master' into fix-query-parameters 2023-03-12 18:59:25 +01:00
Alexey Milovidov
389bc86875
Merge pull request #47498 from kitaisreal/planner-join-tree-build-fix
Planner JOIN TREE build fix
2023-03-12 20:54:20 +03:00
Alexey Milovidov
38612635b0
Update StorageView.cpp 2023-03-12 20:43:47 +03:00
Alexander Gololobov
e0e89066a4
Merge branch 'master' into fix-test-extra-seek 2023-03-12 16:24:33 +01:00
Frank Chen
f5d5950a67 Set SpanKind for internal queries 2023-03-12 21:31:50 +08:00
Frank Chen
6812e493dc Set SpanKind for DDL 2023-03-12 21:31:24 +08:00
Frank Chen
0bdd645049 SET SpanKind for HTTP/TCP/GRPC handler 2023-03-12 21:31:08 +08:00
Frank Chen
dfcb9c9431 Add SpanKind 2023-03-12 21:30:29 +08:00
Maksim Kita
fe25922899 Planner JOIN TREE build fix 2023-03-12 13:43:58 +01:00
Nikolai Kochetov
28c2ac6bce Fix test. 2023-03-12 11:13:44 +00:00
Nikolai Kochetov
861b0397fa Add a comment. 2023-03-12 11:06:29 +00:00
Alexander Tokmakov
2c65f67201
Merge pull request #47476 from ClickHouse/revert_46622
Revert #46622 (test_async_insert_memory)
2023-03-12 14:05:29 +03:00
Smita Kulkarni
39a146ab87 Merge branch 'master' into Parameterized_view_bug_fix_47287_47247 2023-03-12 11:05:28 +01:00
Smita Kulkarni
e85096b444 Updated variable name to fix build & call to getSampleBlockForColumns. Added a test for substring parameter name. 2023-03-12 11:00:17 +01:00
robot-ch-test-poll1
bc39f3e4d9
Merge pull request #47473 from ucasfl/explain-graph
Fix explain graph with projection
2023-03-12 01:31:04 +01:00
Alexander Tokmakov
ed08f8f5c5
Merge branch 'master' into revert_25674 2023-03-12 02:33:25 +03:00
avogar
5a18acde90 Revert #45878 and add a test 2023-03-11 21:15:14 +00:00
Alexey Milovidov
218ac10425 More detailed error messages on too many parts 2023-03-11 21:44:38 +01:00
Smita Kulkarni
5b11d72ce4 In parameterized view, moved parameter values to SelectQueryInfo from StorageView as it can be used by multiple queries and updated column name check to avoid issues with parameter name being substring of column name. 2023-03-11 20:39:43 +01:00
Alexey Milovidov
4cfc040829 Fix parameterized queries 2023-03-11 20:16:06 +01:00
Maksim Kita
114d30d2bb
Merge pull request #47383 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer planner fixes before enable by default
2023-03-11 22:09:04 +03:00
flynn
e56eeac05f fix 2023-03-11 18:48:36 +00:00
Alexander Tokmakov
7b1b238d0b Revert "Merge pull request #25674 from amosbird/distributedreturnconnection"
This reverts commit 5ffd99dfd4, reversing
changes made to 2796aa333f.
2023-03-11 19:09:47 +01:00
flynn
2682844951 fix 2023-03-11 18:06:50 +00:00
flynn
3190b89f9a Fix 2023-03-11 18:04:19 +00:00
Alexander Tokmakov
13aa2ce89b Revert "Merge pull request #26807 from amosbird/improvement2"
This reverts commit 671c2194b3, reversing
changes made to ee13f2e6bc.
2023-03-11 17:26:59 +01:00
Alexander Tokmakov
52504cc2d0 Revert "Merge pull request #27774 from amosbird/distributed-fix"
This reverts commit 86af58f54f, reversing
changes made to 34f5787f0a.
2023-03-11 17:26:30 +01:00
Alexander Tokmakov
bd124a24ea Revert "Merge pull request #31965 from azat/connection-drain-pull"
This reverts commit 6cb54b4092, reversing
changes made to 42d938ffa0.
2023-03-11 17:24:38 +01:00
Alexander Tokmakov
0359b3e336 Revert "Merge pull request #46622 from ClickHouse/async-insert-memory-fix"
This reverts commit 67469ad46b, reversing
changes made to 678e4250cd.
2023-03-11 17:01:10 +01:00
flynn
191bc9717e fix style 2023-03-11 15:58:16 +00:00
flynn
530c9ae490 revert 2023-03-11 15:43:19 +00:00
Alexey Milovidov
6ea6883395
Merge pull request #47454 from ClickHouse/tavplubix-patch-5
Better error messages in ReplicatedMergeTreeAttachThread
2023-03-11 18:38:40 +03:00
flynn
0084a61c76 Merge branch 'master' of github.com:ClickHouse/ClickHouse into explain-graph 2023-03-11 15:35:47 +00:00
flynn
3e554c2925 fix 2023-03-11 15:24:19 +00:00
Alexey Milovidov
45fe39fa9c
Merge pull request #47449 from ClickHouse/fix-optimize-aggregate-in-order-with-aliases
Fix aggregation-in-order with aliases.
2023-03-11 18:22:43 +03:00
flynn
3687698b15 Fix explain graph with projection 2023-03-11 15:03:10 +00:00
Alexey Milovidov
1d351183c5
Merge pull request #47456 from ClickHouse/remove-feature
Remove a feature
2023-03-11 15:42:59 +03:00
Igor Nikonov
73d3cc6f0c some polishing 2023-03-11 12:40:44 +00:00
Igor Nikonov
89580429f2 Merge remote-tracking branch 'origin/master' into fix-distinct-in-order-analyzer 2023-03-11 12:04:16 +00:00
Igor Nikonov
15134cb8c5 Remove debug log 2023-03-11 12:03:34 +00:00
Maksim Kita
c835fa3958 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
d6c7c2193c Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
faaa1d8570 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
8bc92c197f Fixed build 2023-03-11 11:51:54 +01:00
Maksim Kita
0aaef3b1d0 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
5d86df963e Analyzer disable StorageWindowView support 2023-03-11 11:51:54 +01:00
Maksim Kita
25088187d4 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
3d34247998 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
0358cb36d8 Fixed tests 2023-03-11 11:51:54 +01:00
Maksim Kita
677408e02e Fixed style check 2023-03-11 11:51:54 +01:00
Maksim Kita
a762112e15 Analyzer support distributed JOINS and subqueries in IN functions 2023-03-11 11:51:54 +01:00
Konstantin Morozov
5bb6341b56
Merge branch 'master' into indices-storage-memory/update-read 2023-03-11 10:47:32 +01:00
Igor Nikonov
c45c04a1bb Merge remote-tracking branch 'origin/master' into improve-remove-redundant-distinct 2023-03-11 09:30:38 +00:00
Igor Nikonov
04b1a0cb08 Fix style 2023-03-11 09:29:50 +00:00
Alexey Milovidov
6ba54ab421
Merge branch 'master' into rs/compile-with-cpp23 2023-03-11 06:33:14 +03:00
Alexey Milovidov
eead7fcbac Fix error in decodeURLComponent 2023-03-11 02:24:44 +01:00
Alexey Milovidov
a5c8f23f69 Remove a feature 2023-03-10 23:33:56 +01:00
Igor Nikonov
4ae9030405 Check if aggregation keys form prefix in distinct columns 2023-03-10 22:03:53 +00:00
Alexander Tokmakov
6e7ffd9a7b
Update ReplicatedMergeTreeAttachThread.cpp 2023-03-11 00:45:09 +03:00
Igor Nikonov
73119b920b Remove distinct_columns 2023-03-10 20:32:09 +00:00
Nikolai Kochetov
815c5aa87e
Merge branch 'master' into apply-settings-for-explain-earlier 2023-03-10 21:19:07 +01:00
Nikolai Kochetov
91a2f39c0c
Merge branch 'master' into fix-optimize-aggregate-in-order-with-aliases 2023-03-10 21:17:02 +01:00
Nikolai Kochetov
aaecc233b2 Disable logical expression optimizer for expression with aliases. Never use it with optimize_min_equality_disjunction_chain_length=0 2023-03-10 20:14:35 +00:00
Nikolai Kochetov
2fc5864a11 Fix aggregation-in-order with aliases. 2023-03-10 19:37:42 +00:00
Robert Schulze
348a40aa5d
Compile with C++23 2023-03-10 19:11:58 +00:00
Nikolai Kochetov
d2c28fb555 Apply settings for explain subquery as well. 2023-03-10 18:29:13 +00:00
Kruglov Pavel
f387e6013a
Merge pull request #46990 from Avogar/native-types-conversions
Allow types conversion in Native input format
2023-03-10 16:55:16 +01:00
Kruglov Pavel
8c37540288
Merge pull request #47410 from Avogar/fix-csv-big-numbers-inference
Fix big numbers inference in CSV
2023-03-10 16:52:27 +01:00
avogar
b6c91d9ace Support Decimals and Date32 in Avro format 2023-03-10 15:48:18 +00:00
Nikolai Kochetov
f6ac225f98 Apply settings for EXPLAIN earlier (in the same way we do for SELECT). 2023-03-10 15:24:47 +00:00
Vladimir C
12480f60b5
Merge pull request #47068 from ClickHouse/vdimir/auto-join-cross 2023-03-10 16:12:46 +01:00
Dmitry Novik
2699ef477f Move visitor 2023-03-10 14:36:56 +00:00
Arthur Passos
dd77962048 refactor to use string instead of string_views 2023-03-10 10:42:22 -03:00
Sema Checherinda
1260f6910f
Merge pull request #47398 from CheSema/additional-asserts
add checks for ptr
2023-03-10 12:32:51 +01:00
Konstantin Morozov
08fdf42cd8 Merge branch 'master' into indices-storage-memory/update-read 2023-03-10 11:51:06 +01:00
Antonio Andelic
a170a909a4 Add expiration window for S3 credentials 2023-03-10 10:06:32 +00:00
Maksim Kita
42dab92774
Merge pull request #47196 from Algunenano/multierror_support
Add support for different expected errors
2023-03-10 13:02:41 +03:00
Antonio Andelic
83a3243758
Merge pull request #47065 from ClickHouse/debug-keeper
Fix Keeper with `force_sync = false`
2023-03-10 09:27:13 +01:00
Alexey Milovidov
6f35d46ac8
Update SchemaInferenceUtils.cpp 2023-03-10 05:01:06 +03:00
Dmitry Novik
1f59536d4a Remove whitespaces 2023-03-10 00:03:48 +00:00
Kseniia Sumarokova
7cbf77a178
Update LRUFileCachePriority.cpp 2023-03-09 19:55:58 +01:00
avogar
46979e383f Fix big numbers inference in CSV 2023-03-09 18:21:47 +00:00
Dmitry Novik
a305c6e7ab Fix distributed GROUPING SETS and GROUPING function 2023-03-09 18:00:23 +00:00
Arthur Passos
003bbb2685 initialize empty string_view with empty string so std::string_view::begin does not point to null 2023-03-09 13:19:51 -03:00
Anton Popov
66a113ca61
Merge pull request #47384 from CurtizJ/fix-clear-column-with-sparse
Fix `ALTER CLEAR COLUMN` with sparse columns
2023-03-09 16:57:23 +01:00
Yakov Olkhovskiy
581f3af921
Merge pull request #47324 from ClickHouse/analyzer-limit-fix
Analyzer - fix combine logic for limit expression and limit setting
2023-03-09 08:56:09 -05:00
Alexander Tokmakov
9a95e7b4ee
Merge pull request #47312 from ClickHouse/fix_implicit_transactions
Fix an assertion with implicit transactions in interserver mode
2023-03-09 16:47:40 +03:00
Alexander Tokmakov
f8b4af27b2
Merge pull request #47365 from ClickHouse/supress_01111_in_upgrade_check
Suppress expected errors from test 01111 in Upgrade check
2023-03-09 16:46:30 +03:00
Vladimir C
1b264ad51e
Merge branch 'master' into vdimir/http_wait_end_of_query_settings 2023-03-09 13:37:56 +01:00
vdimir
c9e48f37cb
Forbid insert select for the same StorageJoin 2023-03-09 12:28:44 +00:00
Igor Nikonov
acffc98bd1 Fix build 2023-03-09 12:22:32 +00:00
Kruglov Pavel
fe973f3d6f
Merge branch 'master' into native-types-conversions 2023-03-09 13:03:25 +01:00
Kruglov Pavel
71b6d6c6ae
Merge pull request #47114 from Avogar/parquet-compression
Improve working with compression methods in Parquet/ORC/Arrow formats
2023-03-09 13:02:18 +01:00
Igor Nikonov
2ea3faf90c Remove distinct on top of MergingAggregatedStep as well 2023-03-09 11:44:38 +00:00
Nikolay Degterinsky
44531e5f85
Merge pull request #47322 from evillique/running_difference
Add support for big int types to runningDifference() function
2023-03-09 12:39:35 +01:00
Sema Checherinda
7bf1b83414 add checks 2023-03-09 12:37:57 +01:00
Raúl Marín
7161bbeb88 More improvements based on PR review 2023-03-09 11:37:02 +01:00
Antonio Andelic
a70ca31884 Merge branch 'master' into fix-url-progress-bar 2023-03-09 10:17:33 +00:00
Igor Nikonov
feefce7de5 Test + remove debug logging 2023-03-09 09:24:50 +00:00
Konstantin Morozov
255102292c refactoring: remove uselees ctor 2023-03-09 10:02:16 +01:00
Konstantin Morozov
4686eb3cdd refactoring: create new step only once 2023-03-09 09:57:23 +01:00
Antonio Andelic
0ad436aa2c Revert debug changes 2023-03-09 08:07:59 +00:00
Konstantin Morozov
82efbf01aa fix empty pipe for read 2023-03-09 08:28:55 +01:00
Roman Vasin
f42f3ee655
Merge branch 'master' into ADQM-639 2023-03-09 09:48:33 +03:00
Yakov Olkhovskiy
86afb8a72d shortcut for trivial case, fix test, fix comment 2023-03-09 02:24:37 +00:00
Azat Khuzhin
d7b5e36218
Merge branch 'master' into mv-ignore-errors 2023-03-08 22:13:05 +01:00
Igor Nikonov
cfa7119fa7 Fix: apply reading in order for distinct
+ respect aliases
2023-03-08 17:56:33 +00:00
Anton Popov
c3b9af96c4 fix ALTER CLEAR COLUMN with sparse columns 2023-03-08 17:19:04 +00:00
Antonio Andelic
a04b38db90
Merge pull request #45108 from ClickHouse/custom-key-parallel-replicas
Add support for custom key in parallel replicas
2023-03-08 17:46:11 +01:00
Alexander Tokmakov
38f9f08e1a
Merge pull request #47268 from myrrc/improvement/more-to-base-3
use std::lerp, constexpr hex.h
2023-03-08 19:07:34 +03:00
Alexander Tokmakov
debd69f03a fix an assertion with implicit transactions in interserver mode 2023-03-08 16:53:23 +01:00
Dmitry Novik
e2bb5f12a1 Use correct context 2023-03-08 15:28:23 +00:00
Dmitry Novik
9c617cbf27 Fix GROUPING function initialization for grouping sets 2023-03-08 15:19:57 +00:00
Alexander Tokmakov
ecab007486
Merge pull request #47310 from ClickHouse/vdimir/fix_transaction_read_only
Fix MergeTreeTransaction::isReadOnly
2023-03-08 18:02:19 +03:00
Maksim Kita
fb45fd758d
Merge pull request #47225 from kitaisreal/array-exists-to-has-pass-fix
Fix RewriteArrayExistsToHasPass
2023-03-08 17:44:24 +03:00
Alexander Tokmakov
c909d1e3f4
Merge pull request #47314 from ClickHouse/fix_upgrade_check_file_exists
Fix `File exists` error in Upgrade check
2023-03-08 17:29:34 +03:00
Alexander Tokmakov
0fb537e880 suppress expected errors from test 01111 in Upgrade check 2023-03-08 15:27:43 +01:00
Yakov Olkhovskiy
df698355df comment 2023-03-08 14:25:24 +00:00
Maksim Kita
d1396594b8
Merge pull request #47280 from kitaisreal/query-plan-filter-push-down-filled-join-fix
Query plan filter push down optimization filled JOIN fix
2023-03-08 16:37:00 +03:00
Antonio Andelic
b4061d8aa4 Add logs 2023-03-08 13:06:10 +00:00
Kruglov Pavel
c2079e708b
Merge pull request #47161 from Avogar/fix-deadlock
Fix possible deadlock in QueryStatus
2023-03-08 14:05:30 +01:00
avogar
79ef95bc0c Fix tests and builds 2023-03-08 12:54:22 +00:00
Vitaly Baranov
a88c65d48b
Merge pull request #46772 from vitlibar/fix-changing-expired-role
Fix changing an expired role
2023-03-08 12:50:16 +01:00
Raúl Marín
6553cba34b Merge remote-tracking branch 'blessed/master' into multierror_support 2023-03-08 12:32:29 +01:00
Raúl Marín
ff6c9916e6 Improvements based on the PR 2023-03-08 12:32:14 +01:00
Maksim Kita
b6f3b81403 Query plan filter push down optimization filled JOIN fix 2023-03-08 11:16:06 +01:00
Maksim Kita
299b1d8fed
Merge pull request #45910 from ClickHouse/analyzer-group-by-use-nulls
Support `group_by_use_nulls` setting in new analyzer
2023-03-08 13:14:10 +03:00
Antonio Andelic
816a9c1099
Merge branch 'master' into custom-key-parallel-replicas 2023-03-08 11:06:30 +01:00
Igor Nikonov
cc5b97b624
Merge pull request #46997 from AndyBys/log-level-change
Change level log in executeQuery
2023-03-08 10:36:21 +01:00
Vladimir C
4f048ce535
Merge pull request #47153 from ClickHouse/vdimir/grace_hash_limit_race_45986 2023-03-08 10:18:32 +01:00
Maksim Kita
b2b8b7f872 Fix RewriteArrayExistsToHasPass 2023-03-08 10:09:55 +01:00
Vladimir C
b298fbeecc
Merge pull request #47134 from KevinyhZou/enable_int_types_repeat_function 2023-03-08 10:09:20 +01:00
Vladimir C
2aec0c1cb0
Merge pull request #47309 from ClickHouse/vdimir/fix_live_view_bg_pool_exception 2023-03-08 10:06:17 +01:00
Robert Schulze
2a47326061
Merge pull request #47313 from ClickHouse/rs/doc-cleanup-kafka
Docs: Small cleanups after Kafka fix #47138
2023-03-08 09:40:47 +01:00
Antonio Andelic
a24c9ee1ce
Merge pull request #46644 from ClickHouse/or-equality-chain-to-in
Logical expression optimizer in new analyzer
2023-03-08 09:24:36 +01:00
Vitaly Baranov
31b7e6edc6 Keep subscriptions for all enabled roles. 2023-03-08 07:50:04 +01:00
Yakov Olkhovskiy
7966c114bd analyzer - fix combine logic for limit expression and limit setting 2023-03-08 05:40:10 +00:00
Nikolay Degterinsky
51edcf232c Add support for big int types to runningDifference() function 2023-03-08 00:52:58 +00:00
Nikolay Degterinsky
1421411d9a
Merge branch 'master' into evillique-patch-2 2023-03-08 01:03:28 +01:00
Alexey Milovidov
e8cdb0c8b1
Merge pull request #46839 from CurtizJ/fix-crash-in-skip-index
Do not allow const and non-deterministic secondary indexes
2023-03-08 03:03:09 +03:00
Alexey Milovidov
e2aff59a2d
Merge pull request #47106 from kssenii/allow-nested-disks-in-custom-disks
Allow nested custom disks
2023-03-08 03:00:55 +03:00
Alexander Tokmakov
f5cf039190 check if a symlink exists more carefully 2023-03-08 00:04:55 +01:00
Mike Kot
9920a52c51 use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
Alexander Tokmakov
ffd55d951d
Merge branch 'master' into followup_46681 2023-03-07 23:38:06 +03:00
Vitaly Baranov
9792b93a11 Fix changing a role which is already expired in RoleCache. 2023-03-07 21:22:22 +01:00
Robert Schulze
ff8fc0634a
Docs: Small cleanups after Kafka fix #47138 2023-03-07 19:50:42 +00:00
Robert Schulze
5b91631722
Merge pull request #47138 from AVMusorin/disallow-default-columns-kafka-engine
Prohibit DEFAULT/EPHEMERAL/ALIAS/MATERIALIZED columns in KafkaEngine
2023-03-07 20:36:46 +01:00
Kruglov Pavel
69a1309ade
Merge branch 'master' into native-types-conversions 2023-03-07 20:06:17 +01:00
Kruglov Pavel
ba0cc95441
Fix typo 2023-03-07 20:04:52 +01:00
alesapin
223ac414d2
Merge branch 'master' into fix_zero_copy_bug 2023-03-07 18:45:34 +01:00
Arthur Passos
5ba1b5d43c add more descriptive tests 2023-03-07 14:04:48 -03:00
vdimir
4e79df448f
Catch exceptions in LiveViewPeriodicRefreshTask 2023-03-07 16:17:35 +00:00
vdimir
86410a7a3f
Fix MergeTreeTransaction::isReadOnly 2023-03-07 16:16:51 +00:00
Dmitry Novik
13f1e5b022 Merge remote-tracking branch 'origin/master' into analyzer-group-by-use-nulls 2023-03-07 16:16:48 +00:00
Arthur Passos
a42dee5bed
Merge branch 'ClickHouse:master' into fix_find_first_not_symbols 2023-03-07 12:19:23 -03:00
Nikolai Kochetov
0da310c8dc
Update ProcessList.cpp 2023-03-07 15:30:40 +01:00
Alexander Tokmakov
7ce20f5cd2 fix tests 2023-03-07 14:25:28 +01:00
Arthur Passos
bf365cec8c Modify find_first_symbols so it works as expected for find_first_not_symbols 2023-03-07 10:08:04 -03:00
Antonio Andelic
dd4db9132a
Merge branch 'master' into debug-keeper 2023-03-07 13:15:05 +01:00
Antonio Andelic
ced97cefbb Address review comments 2023-03-07 12:07:22 +00:00
Kruglov Pavel
5e1eec48fe
Merge branch 'master' into codecs-better 2023-03-07 12:51:46 +01:00
alesapin
c10cb436f4 Fix build 2023-03-07 12:42:42 +01:00
Kruglov Pavel
9e64441353
Merge pull request #47214 from azat/interserver-mode-address
Add real client (initiator server) address into the logs for interserver mode
2023-03-07 12:40:59 +01:00
Maksim Kita
6cd4507f2f
Merge pull request #46923 from ClickHouse/analyzer_trivial_count_optimization
Planner: trivial count optimization
2023-03-07 14:39:39 +03:00
alesapin
1db6b9414e
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-07 12:39:17 +01:00
Antonio Andelic
f408f750eb Disable parallel replicas for joins 2023-03-07 11:24:46 +00:00
Antonio Andelic
2ae0bceb2b Address PR comments 2023-03-07 10:56:11 +00:00
Kseniia Sumarokova
a9a0d2f5c4
Merge pull request #46524 from artem-yadr/master
Support for MongoDB Replica Set URI with readPreference and host:port enum in MongoDB dictionaries
2023-03-07 11:40:33 +01:00
Antonio Andelic
35c15e6ef8 Merge branch 'master' into custom-key-parallel-replicas 2023-03-07 09:37:38 +00:00
Antonio Andelic
083f8cdd64 Merge branch 'master' into or-equality-chain-to-in 2023-03-07 09:09:09 +00:00
Antonio Andelic
915a04c0ec
Merge pull request #47261 from ClickHouse/join-threads-when-exception
Join threads if exception happened in `ZooKeeperImpl` constructor
2023-03-07 09:32:29 +01:00
Raúl Marín
951d65f2fd Fix debug build 2023-03-07 08:36:11 +01:00
Alexey Milovidov
7d48eae0f6
Merge pull request #47256 from ClickHouse/keeper-4lw-clean-resources
Add Keeper 4LW for cleaning resources
2023-03-07 04:23:15 +03:00
Nikolay Degterinsky
990af0fb79
Fix typo 2023-03-06 23:44:41 +01:00
Alexey Milovidov
d5c47418fa
Merge pull request #47171 from myrrc/feature/terse-stacktraces
Terse stacktraces: no `::__1`, `std::string` as `String`
2023-03-07 01:33:37 +03:00
Alexey Milovidov
93ba0f4bdf
Update StackTrace.cpp 2023-03-07 01:30:44 +03:00
Kruglov Pavel
479cd9b90b
Merge pull request #46972 from Avogar/json-date-int-inference
Fix date and int inference from string in JSON
2023-03-06 20:40:38 +01:00
avogar
b5f19ee12c Make better 2023-03-06 19:34:36 +00:00
alesapin
b5dffe7417 Fix bug in zero copy replica which can lead to dataloss 2023-03-06 19:57:09 +01:00
Kruglov Pavel
3de905bb7c
Merge pull request #46616 from Avogar/fix-ipv4-ipv6-formats
Fix IPv4/IPv6 serialization/deserialization in binary formats
2023-03-06 19:40:29 +01:00
Kruglov Pavel
fed645a494
Don't use switch 2023-03-06 18:03:54 +01:00
Kruglov Pavel
df34ab240d
Don't use switch 2023-03-06 18:03:17 +01:00
Igor Nikonov
838ff88abe
Merge branch 'master' into log-level-change 2023-03-06 18:00:49 +01:00
avogar
8847561fc2 Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs 2023-03-06 16:49:28 +00:00
Roman Vasin
cf85915466 Refactor grants logic, create test for grants, update docs 2023-03-06 16:37:41 +00:00
Mike Kot
07a9e486e6 memset for frame pointers' 2023-03-06 19:35:00 +03:00
Mike Kot
4bc443f3c7 initial solution 2023-03-06 19:35:00 +03:00
Vladimir C
3076e92980
Apply suggestions from code review
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-03-06 16:56:02 +01:00
Anton Popov
1b0d0c6108 fix skip indexes 2023-03-06 15:29:13 +00:00
Sema Checherinda
8292ffb81e
Merge pull request #47121 from liding1992/master
Fix the problem that the 'ReplicatedMergeTree' table failed to insert two similar data when the 'part_type' is configured as 'InMemory' mode.
2023-03-06 16:13:24 +01:00
avogar
d8e5fb5195 Use switch, use lz4 by default 2023-03-06 15:12:15 +00:00
Kruglov Pavel
e4751f95e1
Fix typo 2023-03-06 14:56:05 +01:00
Raúl Marín
43da841e1e Style 2023-03-06 14:53:32 +01:00
Raúl Marín
7c14059f3f Update comments 2023-03-06 14:20:45 +01:00
Antonio Andelic
12525f768c
Add default constructor for MultiReadResponse (#47254)
* Add default constructor for MultiReadResponse
* Remove optional
* Fix style
2023-03-06 14:18:01 +01:00
Raúl Marín
13bda10470 Reimplement hints using the parser 2023-03-06 14:17:31 +01:00
Antonio Andelic
9117c7491d Join threads if exception happened in constructor 2023-03-06 12:55:02 +00:00
Kruglov Pavel
aa776d00fe
Use executors snapshot 2023-03-06 13:24:36 +01:00
Han Fei
b7eef62458
Merge pull request #45491 from azat/dist/async-send-refactoring
[RFC] Rewrite distributed sends to avoid using filesystem as a queue, use in-memory queue instead
2023-03-06 12:32:33 +01:00
Raúl Marín
eb2ed1b123 Add support for different expected errors 2023-03-06 12:31:54 +01:00
Igor Nikonov
f863fc8180 Merge remote-tracking branch 'origin/master' into analyzer_trivial_count_optimization 2023-03-06 10:51:33 +00:00
Igor Nikonov
56e8547f7e Do not apply the optimization when plan is built only for analysis 2023-03-06 10:47:32 +00:00
Roman Vasin
7dc0f8705c
Merge branch 'master' into ADQM-639 2023-03-06 13:05:47 +03:00
Vladimir C
48f644a958
Fix style in JoiningTransform.cpp 2023-03-06 10:38:21 +01:00
Roman Vasin
95a7e11a47 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-639 2023-03-06 09:11:20 +00:00