fixed sql parser for odps alter table drop partition statement.

This commit is contained in:
wenshao
2017-01-11 16:41:23 +08:00
parent b5867e7c5e
commit e6341c4a89
3 changed files with 13 additions and 14 deletions
@@ -24,7 +24,7 @@ import com.alibaba.druid.sql.visitor.SQLASTVisitor;
public class SQLAlterTableDropPartition extends SQLObjectImpl implements SQLAlterTableItem {
private boolean ifNotExists = false;
private boolean ifExists = false;
private boolean purge;
@@ -41,12 +41,12 @@ public class SQLAlterTableDropPartition extends SQLObjectImpl implements SQLAlte
this.partitions.add(partition);
}
public boolean isIfNotExists() {
return ifNotExists;
public boolean isIfExists() {
return ifExists;
}
public void setIfNotExists(boolean ifNotExists) {
this.ifNotExists = ifNotExists;
public void setIfExists(boolean ifExists) {
this.ifExists = ifExists;
}
public boolean isPurge() {