bowenli86 commented on a change in pull request #10388: [FLINK-14912][Table]
create, drop catalog functions through catalog manager
URL: https://github.com/apache/flink/pull/10388#discussion_r353979543
##########
File path:
flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/operations/SqlToOperationConverter.java
##########
@@ -246,10 +332,10 @@ private Operation convertDropDatabase(SqlDropDatabase
sqlDropDatabase) {
String catalogName = (fullDatabaseName.length == 1) ?
catalogManager.getCurrentCatalog() : fullDatabaseName[0];
String databaseName = (fullDatabaseName.length == 1) ?
fullDatabaseName[0] : fullDatabaseName[1];
return new DropDatabaseOperation(
- catalogName,
Review comment:
revert?
----------------------------------------------------------------
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]
With regards,
Apache Git Services