cheese8 commented on a change in pull request #12372:
URL: https://github.com/apache/shardingsphere/pull/12372#discussion_r707943566



##########
File path: 
shardingsphere-infra/shardingsphere-infra-binder/src/main/java/org/apache/shardingsphere/infra/binder/SQLStatementContextFactory.java
##########
@@ -139,12 +139,12 @@
         throw new UnsupportedOperationException(String.format("Unsupported SQL 
statement `%s`", sqlStatement.getClass().getSimpleName()));
     }
     
-    private static SQLStatementContext<?> getDDLStatementContext(final 
DDLStatement sqlStatement) {
+    private static SQLStatementContext<?> getDDLStatementContext(final 
DDLStatement sqlStatement, final String defaultSchemaName) {
         if (sqlStatement instanceof CreateTableStatement) {
-            return new CreateTableStatementContext((CreateTableStatement) 
sqlStatement);
+            return new CreateTableStatementContext((CreateTableStatement) 
sqlStatement, defaultSchemaName);

Review comment:
       Param of schemaName was reverted on ddl statement.




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


Reply via email to