[#7171] Support parsing qualified target table names in ALTER TABLE .. RENAME TO

This commit is contained in:
lukaseder 2018-03-13 13:01:39 +01:00
parent 218e4a8bf8
commit d92faaf9f6

View File

@ -2461,7 +2461,7 @@ final class ParserImpl implements Parser {
case 'R':
if (parseKeywordIf(ctx, "RENAME")) {
if (parseKeywordIf(ctx, "TO")) {
Name newName = parseIdentifier(ctx);
Table<?> newName = parseTableName(ctx);
return s1.renameTo(newName);
}