mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed sql parser for odps alter table drop partition statement.
This commit is contained in:
@@ -2838,8 +2838,8 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
@Override
|
||||
public boolean visit(SQLAlterTableDropPartition x) {
|
||||
print0(ucase ? "DROP " : "drop ");
|
||||
if (x.isIfNotExists()) {
|
||||
print0(ucase ? "IF NOT EXISTS " : "if not exists ");
|
||||
if (x.isIfExists()) {
|
||||
print0(ucase ? "IF EXISTS " : "if exists ");
|
||||
}
|
||||
print0(ucase ? "PARTITION " : "partition ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user