Skip to content

Commit

Permalink
fix: test_parse_alter_drop_column
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Nov 17, 2022
1 parent a1a18cd commit bb03581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/src/parsers/alter_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ mod tests {
let result = ParserContext::create_with_dialect(sql, &GenericDialect {}).unwrap_err();
assert!(result
.to_string()
.contains("expect keyword COLUMN after DROP"));
.contains("expect keyword COLUMN after ALTER TABLE DROP"));

let sql = "ALTER TABLE my_metric_1 DROP COLUMN a";
let mut result = ParserContext::create_with_dialect(sql, &GenericDialect {}).unwrap();
Expand Down

0 comments on commit bb03581

Please sign in to comment.