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 @@ -409,20 +409,12 @@ fn parse_create_table_with_nested_data_types() {
409
409
410
410
#[ test]
411
411
fn parse_create_table_with_primary_key ( ) {
412
- match clickhouse_and_generic ( ) . one_statement_parses_to (
413
- concat ! (
414
- r#"CREATE TABLE db.table (`i` Int, `k` Int)"# ,
415
- " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
416
- " PRIMARY KEY tuple(i)" ,
417
- " ORDER BY tuple(i)" ,
418
- ) ,
419
- concat ! (
420
- r#"CREATE TABLE db.table (`i` INT, `k` INT)"# ,
421
- " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
422
- " PRIMARY KEY tuple(i)" ,
423
- " ORDER BY tuple(i)" ,
424
- ) ,
425
- ) {
412
+ match clickhouse_and_generic ( ) . verified_stmt ( concat ! (
413
+ r#"CREATE TABLE db.table (`i` INT, `k` INT)"# ,
414
+ " ENGINE=SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')" ,
415
+ " PRIMARY KEY tuple(i)" ,
416
+ " ORDER BY tuple(i)" ,
417
+ ) ) {
426
418
Statement :: CreateTable {
427
419
name,
428
420
columns,
You can’t perform that action at this time.
0 commit comments