xishuaidelin commented on code in PR #22515: URL: https://github.com/apache/flink/pull/22515#discussion_r1185991949
########## flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/TableEnvironmentImpl.java: ########## @@ -915,6 +916,16 @@ public TableResultInternal executeInternal(Operation operation) { return executeInternal(((StatementSetOperation) operation).getOperations()); } else if (operation instanceof ExplainOperation) { ExplainOperation explainOperation = (ExplainOperation) operation; + if (explainOperation instanceof ExplainFileOperation) { + ExplainFileOperation explainfileOperation = (ExplainFileOperation) explainOperation; + CompiledPlan cp = + loadPlan(PlanReference.fromFile(explainfileOperation.getFilePath())); Review Comment: I got it and fix it with `compiledPlan#explain` -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org