File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -219,20 +219,12 @@ fn parse_create_table() {
219
219
220
220
#[ test]
221
221
fn parse_create_table_with_primary_key ( ) {
222
- match clickhouse_and_generic ( ) . one_statement_parses_to (
223
- concat ! (
224
- r#"CREATE TABLE db.table (`i` Int, `k` Int)"# ,
225
- " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
226
- " PRIMARY KEY tuple(i)" ,
227
- " ORDER BY tuple(i)" ,
228
- ) ,
229
- concat ! (
230
- r#"CREATE TABLE db.table (`i` INT, `k` INT)"# ,
231
- " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
232
- " PRIMARY KEY tuple(i)" ,
233
- " ORDER BY tuple(i)" ,
234
- ) ,
235
- ) {
222
+ match clickhouse_and_generic ( ) . verified_stmt ( concat ! (
223
+ r#"CREATE TABLE db.table (`i` INT, `k` INT)"# ,
224
+ " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
225
+ " PRIMARY KEY tuple(i)" ,
226
+ " ORDER BY tuple(i)" ,
227
+ ) ) {
236
228
Statement :: CreateTable {
237
229
name,
238
230
columns,
You can’t perform that action at this time.
0 commit comments