SteNicholas commented on a change in pull request #13017:
URL: https://github.com/apache/flink/pull/13017#discussion_r466187506
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java
##########
@@ -1021,6 +1022,28 @@ private TableResult executeOperation(Operation
operation) {
return buildShowResult("function name",
listFunctions());
} else if (operation instanceof ShowViewsOperation) {
return buildShowResult("view name", listViews());
+ } else if (operation instanceof ShowPartitionsOperation) {
+ String exMsg =
getDQLOpExecuteErrorMsg(operation.asSummaryString());
Review comment:
@lirui-apache I thought that `SHOW PARTITIONS` is DQL. I will modify
`getDQLOpExecuteErrorMsg` to `getDDLOpExecuteErrorMsg`.
----------------------------------------------------------------
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]