File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1000,11 +1000,7 @@ impl fmt::Display for AlterTableOperation {
10001000 Ok ( ( ) )
10011001 }
10021002 AlterTableOperation :: AlterSortKey { columns } => {
1003- write ! (
1004- f,
1005- "ALTER SORTKEY({})" ,
1006- display_comma_separated( columns)
1007- ) ?;
1003+ write ! ( f, "ALTER SORTKEY({})" , display_comma_separated( columns) ) ?;
10081004 Ok ( ( ) )
10091005 }
10101006 AlterTableOperation :: SuspendRecluster => {
Original file line number Diff line number Diff line change @@ -477,10 +477,8 @@ fn test_copy_credentials() {
477477
478478#[ test]
479479fn test_create_table_sortkey ( ) {
480- redshift ( )
481- . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT, c3 TIMESTAMP) SORTKEY(c3)" ) ;
482- redshift ( )
483- . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT) SORTKEY(c1, c2)" ) ;
480+ redshift ( ) . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT, c3 TIMESTAMP) SORTKEY(c3)" ) ;
481+ redshift ( ) . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT) SORTKEY(c1, c2)" ) ;
484482}
485483
486484#[ test]
You can’t perform that action at this time.
0 commit comments