strongduanmu commented on code in PR #27883:
URL: https://github.com/apache/shardingsphere/pull/27883#discussion_r1292127264
##########
parser/sql/dialect/postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/statement/type/PostgreSQLDDLStatementVisitor.java:
##########
@@ -419,6 +419,9 @@ public ASTNode visitAlterDefinitionClause(final
AlterDefinitionClauseContext ctx
if (null != ctx.alterTableActions()) {
result.getValue().addAll(ctx.alterTableActions().alterTableAction().stream().flatMap(each
-> getAlterDefinitionSegments(each).stream()).collect(Collectors.toList()));
}
+ if (null != ctx.renameColumnSpecification()) {
Review Comment:
Please add sql parser test case for this change @ediconss , thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]