You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query "DROP TABLE IF EXISTS $rmt_table, $s3_table, $rmt_table_roundtrip"
15
+
query "DROP TABLE IF EXISTS $rmt_table, $s3_table"
17
16
18
17
query "CREATE TABLE $rmt_table (id UInt64, year UInt16) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/$rmt_table', 'replica1') PARTITION BY year ORDER BY tuple()"
19
18
query "CREATE TABLE $s3_table (id UInt64, year UInt16) ENGINE = S3(s3_conn, filename='$s3_table', format=Parquet, partition_strategy='hive') PARTITION BY year"
@@ -35,10 +34,4 @@ query "ALTER TABLE $rmt_table EXPORT PART '$part_2020' TO TABLE $s3_table SETTIN
35
34
36
35
query "SELECT * FROM $s3_table ORDER BY id"
37
36
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"
40
-
41
-
echo"---- Data in roundtrip ReplicatedMergeTree table (should match s3_table)"
42
-
query "SELECT * FROM $rmt_table_roundtrip ORDER BY id"
43
-
44
-
query "DROP TABLE IF EXISTS $rmt_table, $s3_table, $rmt_table_roundtrip"
37
+
query "DROP TABLE IF EXISTS $rmt_table, $s3_table"
0 commit comments