Skip to content

Commit 97cd90f

Browse files
committed
possibly fix test
1 parent c7e28bc commit 97cd90f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/queries/0_stateless/03572_export_replicated_merge_tree_part_to_object_storage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ query "ALTER TABLE $rmt_table EXPORT PART '$part_2020' TO TABLE $s3_table SETTIN
3535

3636
query "SELECT * FROM $s3_table ORDER BY id"
3737

38-
query "CREATE TABLE $rmt_table_roundtrip ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/$rmt_table_roundtrip', 'replica1') PARTITION BY year ORDER BY tuple() AS SELECT * FROM $s3_table"
38+
query "CREATE TABLE $rmt_table_roundtrip (id UInt64, year UInt16) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/$rmt_table_roundtrip', 'replica1') PARTITION BY year ORDER BY tuple()"
39+
query "INSERT INTO $rmt_table_roundtrip SELECT * FROM $s3_table"
3940

4041
echo "---- Data in roundtrip ReplicatedMergeTree table (should match s3_table)"
4142
query "SELECT * FROM $rmt_table_roundtrip ORDER BY id"

0 commit comments

Comments
 (0)