Remove hashes because they are not important

This commit is contained in:
alesapin 2021-01-12 15:08:13 +03:00
parent c02a937c53
commit 56d0f10231
2 changed files with 27 additions and 27 deletions

View File

@ -4,43 +4,43 @@
2 2_1_1_0
3 3_0_0_0
3 3_1_1_0
1_14355437094738224306_13787256470990635983 1_0_0_0
1_17983216555921492149_5760936842821699731 1_1_1_0
2_1634837529432916016_162161181777289016 2_0_0_0
2_18395937199097619006_2181172257097482775 2_1_1_0
3_4778092615753783900_11373142689174075303 3_0_0_0
3_8348517061570215292_12257924383974485573 3_1_1_0
1_ 1_0_0_0
1_ 1_1_1_0
2_ 2_0_0_0
2_ 2_1_1_0
3_ 3_0_0_0
3_ 3_1_1_0
1 1_0_0_0
1 1_1_1_0
2 2_0_0_0
2 2_1_1_0
3 3_0_0_0
3 3_1_1_0
1_14355437094738224306_13787256470990635983 1_0_0_0
1_17983216555921492149_5760936842821699731 1_1_1_0
2_1634837529432916016_162161181777289016 2_0_0_0
2_18395937199097619006_2181172257097482775 2_1_1_0
3_4778092615753783900_11373142689174075303 3_0_0_0
3_8348517061570215292_12257924383974485573 3_1_1_0
1_ 1_0_0_0
1_ 1_1_1_0
2_ 2_0_0_0
2_ 2_1_1_0
3_ 3_0_0_0
3_ 3_1_1_0
1 1_0_0_0
1 1_1_1_0
2 2_0_0_0
2 2_1_1_0
3 3_0_0_0
1_14355437094738224306_13787256470990635983 1_0_0_0
1_17983216555921492149_5760936842821699731 1_1_1_0
2_1634837529432916016_162161181777289016 2_0_0_0
2_18395937199097619006_2181172257097482775 2_1_1_0
3_4778092615753783900_11373142689174075303 3_0_0_0
1_ 1_0_0_0
1_ 1_1_1_0
2_ 2_0_0_0
2_ 2_1_1_0
3_ 3_0_0_0
1 1_0_0_0
1 1_1_1_0
2 2_0_0_0
2 2_1_1_0
3 3_0_0_0
3 3_2_2_0
1_14355437094738224306_13787256470990635983 1_0_0_0
1_17983216555921492149_5760936842821699731 1_1_1_0
2_1634837529432916016_162161181777289016 2_0_0_0
2_18395937199097619006_2181172257097482775 2_1_1_0
3_4778092615753783900_11373142689174075303 3_0_0_0
3_8348517061570215292_12257924383974485573 3_2_2_0
1_ 1_0_0_0
1_ 1_1_1_0
2_ 2_0_0_0
2_ 2_1_1_0
3_ 3_0_0_0
3_ 3_2_2_0

View File

@ -16,24 +16,24 @@ INSERT INTO partitioned_table VALUES (11, 1, 'AA'), (22, 2, 'BB'), (33, 3, 'CC')
SELECT partition_id, name FROM system.parts WHERE table = 'partitioned_table' AND database = currentDatabase() ORDER BY name;
SELECT name, value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
SELECT substring(name, 1, 2), value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
INSERT INTO partitioned_table VALUES (33, 3, 'CC'); -- must be deduplicated
SELECT partition_id, name FROM system.parts WHERE table = 'partitioned_table' AND database = currentDatabase() ORDER BY name;
SELECT name, value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
SELECT substring(name, 1, 2), value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
ALTER TABLE partitioned_table DROP PART '3_1_1_0';
SELECT partition_id, name FROM system.parts WHERE table = 'partitioned_table' AND database = currentDatabase() ORDER BY name;
SELECT name, value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
SELECT substring(name, 1, 2), value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
INSERT INTO partitioned_table VALUES (33, 3, 'CC'); -- mustn't be deduplicated
SELECT partition_id, name FROM system.parts WHERE table = 'partitioned_table' AND database = currentDatabase() ORDER BY name;
SELECT name, value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
SELECT substring(name, 1, 2), value FROM system.zookeeper WHERE path='/clickhouse/test/01650_drop_part_and_deduplication/partitioned_table/blocks/' ORDER BY value;
DROP TABLE IF EXISTS partitioned_table;