@@ -276,13 +276,13 @@ fn parse_alter_table_attach_and_detach_partition() {
276
276
clickhouse_and_generic( )
277
277
. parse_sql_statements( format!( "ALTER TABLE t0 {operation} PARTITION" ) . as_str( ) )
278
278
. unwrap_err( ) ,
279
- ParserError ( "Expected: an expression: , found: EOF" . to_string( ) )
279
+ ParserError ( "Expected: an expression, found: EOF" . to_string( ) )
280
280
) ;
281
281
assert_eq ! (
282
282
clickhouse_and_generic( )
283
283
. parse_sql_statements( format!( "ALTER TABLE t0 {operation} PART" ) . as_str( ) )
284
284
. unwrap_err( ) ,
285
- ParserError ( "Expected: an expression: , found: EOF" . to_string( ) )
285
+ ParserError ( "Expected: an expression, found: EOF" . to_string( ) )
286
286
) ;
287
287
}
288
288
}
@@ -355,7 +355,7 @@ fn parse_alter_table_add_projection() {
355
355
clickhouse_and_generic( )
356
356
. parse_sql_statements( "ALTER TABLE t0 ADD PROJECTION my_name (SELECT)" )
357
357
. unwrap_err( ) ,
358
- ParserError ( "Expected: an expression: , found: )" . to_string( ) )
358
+ ParserError ( "Expected: an expression, found: )" . to_string( ) )
359
359
) ;
360
360
}
361
361
@@ -498,13 +498,13 @@ fn parse_optimize_table() {
498
498
clickhouse_and_generic( )
499
499
. parse_sql_statements( "OPTIMIZE TABLE t0 DEDUPLICATE BY" )
500
500
. unwrap_err( ) ,
501
- ParserError ( "Expected: an expression: , found: EOF" . to_string( ) )
501
+ ParserError ( "Expected: an expression, found: EOF" . to_string( ) )
502
502
) ;
503
503
assert_eq ! (
504
504
clickhouse_and_generic( )
505
505
. parse_sql_statements( "OPTIMIZE TABLE t0 PARTITION" )
506
506
. unwrap_err( ) ,
507
- ParserError ( "Expected: an expression: , found: EOF" . to_string( ) )
507
+ ParserError ( "Expected: an expression, found: EOF" . to_string( ) )
508
508
) ;
509
509
assert_eq ! (
510
510
clickhouse_and_generic( )
@@ -1479,7 +1479,7 @@ fn parse_freeze_and_unfreeze_partition() {
1479
1479
clickhouse_and_generic( )
1480
1480
. parse_sql_statements( format!( "ALTER TABLE t0 {operation_name} PARTITION" ) . as_str( ) )
1481
1481
. unwrap_err( ) ,
1482
- ParserError ( "Expected: an expression: , found: EOF" . to_string( ) )
1482
+ ParserError ( "Expected: an expression, found: EOF" . to_string( ) )
1483
1483
) ;
1484
1484
assert_eq ! (
1485
1485
clickhouse_and_generic( )
0 commit comments