You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/14 06:16:38 UTC

[GitHub] [shardingsphere] cheese8 commented on a change in pull request #12372: using SchemaAvailable & EncryptPropertiesBuilder to pass schema,owner,table,column value into EncryptAlgorithm

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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org