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 @@ -470,10 +470,8 @@ fn test_create_table_diststyle() {
470470
471471#[ test]
472472fn test_create_table_sortkey ( ) {
473- redshift ( )
474- . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT, c3 TIMESTAMP) SORTKEY(c3)" ) ;
475- redshift ( )
476- . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT) SORTKEY(c1, c2)" ) ;
473+ redshift ( ) . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT, c3 TIMESTAMP) SORTKEY(c3)" ) ;
474+ redshift ( ) . verified_stmt ( "CREATE TABLE t1 (c1 INT, c2 INT) SORTKEY(c1, c2)" ) ;
477475}
478476
479477#[ test]
You can’t perform that action at this time.
0 commit comments