mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge branch 'fix_redundant_check' of github.com:ClickHouse/ClickHouse into fix_redundant_check
This commit is contained in:
commit
77d96e67d1
@ -1,4 +1,3 @@
|
||||
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import logging
|
||||
@ -55,9 +54,13 @@ CREATE TABLE test_s3(c1 Int8, c2 Date) ENGINE = ReplicatedMergeTree('/test/table
|
||||
assert node1.query("SELECT count() FROM test_local") == "2\n"
|
||||
|
||||
objects_before = get_objects_in_data_path()
|
||||
node1.query("ALTER TABLE test_s3 FETCH PARTITION '2023-10-04' FROM '/test/tables/shard/test_local'")
|
||||
node1.query(
|
||||
"ALTER TABLE test_s3 FETCH PARTITION '2023-10-04' FROM '/test/tables/shard/test_local'"
|
||||
)
|
||||
|
||||
node1.query("ALTER TABLE test_s3 DROP DETACHED PARTITION '2023-10-04' SETTINGS allow_drop_detached = 1")
|
||||
node1.query(
|
||||
"ALTER TABLE test_s3 DROP DETACHED PARTITION '2023-10-04' SETTINGS allow_drop_detached = 1"
|
||||
)
|
||||
|
||||
objects_after = get_objects_in_data_path()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user