mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Automatic style fix
This commit is contained in:
parent
eec64ba1d9
commit
041a9c8180
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import logging
|
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"
|
assert node1.query("SELECT count() FROM test_local") == "2\n"
|
||||||
|
|
||||||
objects_before = get_objects_in_data_path()
|
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()
|
objects_after = get_objects_in_data_path()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user