jingshanglu commented on a change in pull request #6812:
URL: https://github.com/apache/shardingsphere/pull/6812#discussion_r470395992



##########
File path: 
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/impl/PostgreSQLDDLVisitor.java
##########
@@ -280,4 +286,19 @@ public ASTNode visitTableNamesClause(final 
TableNamesClauseContext ctx) {
         result.getValue().addAll(tableSegments);
         return result;
     }
+    
+    @Override
+    public ASTNode visitAlterFunction(final AlterFunctionContext ctx) {
+        return new AlterFunctionStatement();
+    }
+    
+    @Override
+    public ASTNode visitAlterProcedure(final AlterProcedureContext ctx) {
+        return new AlterProcedureStatement();
+    }
+    
+    @Override
+    public ASTNode visitCreateFunction(final 
PostgreSQLStatementParser.CreateFunctionContext ctx) {
+        return new CreateFunctionStatement();
+    }

Review comment:
       change to
   ```
    @Override
       public ASTNode visitCreateFunction(final CreateFunctionContext ctx) {
           return new CreateFunctionStatement();
       }
   ```
   apply to others.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to