[#7171] Support parsing ALTER TABLE .. DROP INDEX
This commit is contained in:
parent
19adb82837
commit
44ee67240f
@ -2643,6 +2643,10 @@ final class ParserImpl implements Parser {
|
||||
|
||||
return s1.dropConstraint(constraint);
|
||||
}
|
||||
else if (parseKeywordIf(ctx, "INDEX")) {
|
||||
Name index = parseIdentifier(ctx);
|
||||
return ctx.dsl.dropIndex(index).on(tableName);
|
||||
}
|
||||
else {
|
||||
parseKeywordIf(ctx, "COLUMN");
|
||||
boolean parens = parseIf(ctx, '(');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user