Commit Graph

19742 Commits

Author SHA1 Message Date
Nikolai Kochetov
c6e3e14bcc
Merge pull request #39184 from ClickHouse/respect-remote_url_allow_hosts-for-other-dict-sources
Respect remote_url_allow_hosts in relevant dictionary sources.
2022-08-05 17:25:53 +02:00
Nikolai Kochetov
0005c37acc
Merge pull request #39477 from azat/fix-mv-drop-race
Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views
2022-08-05 17:19:45 +02:00
Anton Popov
530c6bd6a4
Merge pull request #39927 from ClickHouse/CurtizJ-patch-6
Fix flaky test `02360_send_logs_level_colors`
2022-08-05 14:51:54 +02:00
Nikita Taranov
340ff4f1ad
impl (#39908) 2022-08-05 14:51:18 +02:00
Anton Popov
c3608de37e
fix flaky test 02360_send_logs_level_colors 2022-08-05 14:50:39 +02:00
Nikolai Kochetov
cf34232675 Output header is now empty for every MV chain.
Instead of checking that number of processors different for different
threads, simply always return empty header from buildChainImpl(), by
adding explicit conversion.

v2: ignore UNKNOWN_TABLE errors in test
2022-08-05 13:16:32 +03:00
Azat Khuzhin
4efa847a1f Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views
In case of parallel INSERT (max_insert_threads > 1) it is possible for
VIEW to be DROP/DETACH'ed while building pipeline for various paralell
streams, and in this case the header will not match since when you have
VIEW you will got empty header and non-empty header otherwise.

And this leads to LOGICAL_ERROR later, while checking that output
headers are the same (in QueryPipelineBuilder::addChains() -> Pipe::addChains()).

However it also makes the pipeline different for various parallel
streams, and it looks like it is better to fail in this case, so instead
of always returning empty header from buildChainImpl() explicit check
had been added.

Note, that I wasn't able to reproduce the issue with the added test,
but CI may have more "luck" (although I've verified it manually).

Fixes: #35902
Cc: @KochetovNicolai
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-05 13:16:32 +03:00
alesapin
48e55ff4c7
Merge pull request #39795 from ClickHouse/cloudflare-dns-fallback
Add cloudflare DNS as a fallback
2022-08-05 12:14:45 +02:00
Alexander Tokmakov
65e1ce8ad1
Merge pull request #39674 from tonickkozlov/tonickkozlov/fix-default-database-resolution
Default database resolution in distributed reads
2022-08-05 13:09:15 +03:00
alesapin
329120ca7a
Merge pull request #39755 from ClickHouse/keeper-create-snapshot-on-exit
Create Keeper snapshot on exit
2022-08-05 12:00:16 +02:00
Nikolai Kochetov
2fe893ba67
Merge pull request #25563 from ClickHouse/use-dag-in-key-condition
Use ActionsDAG in KeyCondition
2022-08-05 11:22:46 +02:00
Alexander Tokmakov
d9190a8121
Merge pull request #39872 from ClickHouse/store_cleanup_all_disks
Cleanup unused dirs from `store/` on all disks
2022-08-05 12:21:59 +03:00
Ilya Yatsishin
e583345987
Merge pull request #38978 from qoega/integration-tests-7 2022-08-05 07:21:18 +02:00
Anton Popov
0492ef63a4
Merge pull request #39464 from CurtizJ/fix-custom-serializations
Fix columns of type `Object` with sparse serialization
2022-08-05 00:55:41 +02:00
Amos Bird
6a3a9dcf96
Fix building aggregate projections when external aggregation is on (#39671) 2022-08-04 23:29:26 +02:00
Mikhail f. Shiryaev
0d1c31a869
Merge branch 'master' into release-tweak-generate 2022-08-04 21:33:54 +02:00
Alexander Tokmakov
110b60e5b7 fix tests 2022-08-04 19:48:55 +02:00
Alexander Tokmakov
460f2f2e39 Merge branch 'master' into store_cleanup_all_disks 2022-08-04 19:48:41 +02:00
Nikolai Kochetov
658a269d56
Merge branch 'master' into use-dag-in-key-condition 2022-08-04 16:18:40 +02:00
Alexander Tokmakov
ebbaed46bd Merge branch 'master' into tonickkozlov/fix-default-database-resolution 2022-08-04 15:20:44 +02:00
Antonio Andelic
07a85513e8 Merge branch 'master' into keeper-create-snapshot-on-exit 2022-08-04 13:12:26 +00:00
Kruglov Pavel
235649cb98
Merge pull request #39458 from Avogar/fix-cancel-insert-into-function
Fix WriteBuffer finalize when cancel insert into function
2022-08-04 13:02:08 +02:00
Alexander Tokmakov
1d67344ac8
Update 02354_distributed_with_external_aggregation_memory_usage.sql 2022-08-04 12:37:25 +03:00
Ilya Yatsishin
cecdc313d8
Merge branch 'master' into integration-tests-7 2022-08-04 11:37:16 +02:00
Alexander Tokmakov
1133425624
Update storage_conf.xml 2022-08-04 12:16:38 +03:00
Vitaly Baranov
a952a5dfe5
Merge pull request #39859 from vitlibar/fix-flaky-test_async_backups_to_same_destination
Fix flaky integration test test_async_backups_to_same_destination.
2022-08-04 09:46:25 +02:00
Antonio Andelic
8094f33078 Add init file for test 2022-08-04 06:48:33 +00:00
Alexey Milovidov
9e46abc560
Merge pull request #39420 from amosbird/better-projection1-fix1
Normalize AggregateFunction types and state representations
2022-08-04 03:06:55 +03:00
Alexey Milovidov
f474eb957d
Merge pull request #39758 from ClickHouse/tsan_clang_15
Try clang-15 for build with tsan
2022-08-04 01:56:52 +03:00
Alexey Milovidov
9987a9e740
Merge pull request #39862 from ClickHouse/follow-up-do-not-optimize-functions-shadowing-args
Remove prefer_localhost_replica from test
2022-08-04 01:48:44 +03:00
Mikhail f. Shiryaev
8919fd6e58
Add handful notes to a post-release logging 2022-08-04 00:40:32 +02:00
Mikhail f. Shiryaev
ff26492830
Prevent spoiling rollback_stack 2022-08-04 00:24:43 +02:00
Alexander Tokmakov
a269cf29e4 remove unused dirs from store on all disks 2022-08-03 19:49:16 +02:00
Kruglov Pavel
b84e65bb3b
Merge pull request #39716 from arthurpassos/fix_scalar_cte_with_lc_result
Unwrap LC column in IExecutablefunction::executeWithoutSparseColumns
2022-08-03 18:53:37 +02:00
Nikita Taranov
4943202921
Improve memory usage during memory efficient merging of aggregation results (#39429) 2022-08-03 17:56:59 +02:00
Anton Popov
5da32fafb3 fix ALTER MODIFY COLUMN from nested 2022-08-03 15:08:38 +00:00
Igor Nikonov
149581e319 Remove prefer_localhost_replica
Test queries failed before fix #39103 regardless the setting value
The setting is randomized
2022-08-03 13:15:16 +00:00
Igor Nikonov
9eef299e11
Merge pull request #39103 from tonickkozlov/tonickkozlov/37032/do-not-optimize-functions-shadowing-args
Do not optimize GROUP BY functions that shadow their arguments
2022-08-03 15:06:42 +02:00
Vitaly Baranov
dc25f18f13 Fix flaky integration test test_async_backups_to_same_destination. 2022-08-03 14:22:09 +02:00
Antonio Andelic
05a74850b3
Update tests/config/install.sh
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-08-03 13:57:20 +02:00
Anton Popov
6b15ee2bd9
Merge pull request #39685 from CurtizJ/hash-functions-map
Allow to execute hash functions with arguments of type `Map`
2022-08-03 13:51:16 +02:00
Antonio Andelic
71e1b1916c Randomize snapshot on exit in tests 2022-08-03 11:43:30 +00:00
Mikhail f. Shiryaev
62a05dc10d
Add instructions for github-cli installation 2022-08-03 13:40:31 +02:00
Kseniia Sumarokova
cdee1d94d0
Merge pull request #39404 from HeenaBansal2009/Issue_39395
Clickhouse-local fixes
2022-08-03 12:31:40 +02:00
Mikhail f. Shiryaev
2ca9df9b22
Merge pull request #39421 from ClickHouse/github-helper
GitHub helper
2022-08-03 12:04:03 +02:00
Mikhail f. Shiryaev
08474cf869
Update tweak on version part update 2022-08-03 11:43:47 +02:00
Mikhail f. Shiryaev
469b7e7668
Add notes about _is_cache_updated logic 2022-08-02 18:44:49 +02:00
Mikhail f. Shiryaev
70d97e9393
Merge pull request #39630 from ClickHouse/workflow-rerun-lambda
Attempt to fix wrong workflow_run data for rerun
2022-08-02 18:29:43 +02:00
Alexander Tokmakov
ec8a11dfdd
Merge pull request #39817 from ClickHouse/revert-39788-revert-39124-fix-02232_dist_insert_send_logs_level_hung
Revert "Revert "tests: enable back 02232_dist_insert_send_logs_level_hung""
2022-08-02 18:48:34 +03:00
Kruglov Pavel
b386db02e1
Fix test 2022-08-02 15:51:57 +02:00