leonardBang commented on a change in pull request #9433: [FLINK-13708]
[table-planner-blink] transformations should be cleared after execution in
blink planner
URL: https://github.com/apache/flink/pull/9433#discussion_r338030981
##########
File path:
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/api/java/internal/StreamTableEnvironmentImpl.java
##########
@@ -335,6 +335,12 @@ protected boolean isEagerOperationTranslation() {
return true;
}
+ @Override
+ public String explain(boolean extended) {
+ // throw exception directly, because the operations to explain
are always empty
+ throw new TableException("'explain' method without any tables
is unsupported in StreamTableEnvironment.");
Review comment:
Keep same note with StreamTableEnvironmentImpl.scala would be better.
```suggestion
throw new TableException("'explain' method is unsupported in
StreamTableEnvironment.")
```
----------------------------------------------------------------
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