stevenzwu commented on a change in pull request #1956:
URL: https://github.com/apache/iceberg/pull/1956#discussion_r554287700
##########
File path: flink/src/test/java/org/apache/iceberg/flink/FlinkTestBase.java
##########
@@ -76,7 +99,7 @@ protected TableEnvironment getTableEnv() {
TableResult tableResult = getTableEnv().executeSql(String.format(query,
args));
tableResult.getJobClient().ifPresent(c -> {
try {
-
c.getJobExecutionResult(Thread.currentThread().getContextClassLoader()).get();
+ c.getJobExecutionResult().get();
Review comment:
BTW, removing the `JobClientgetJobExecutionResult().get()` works well
for Flink 1.12. It seems that it doesn't work with Flink 1.11 when I tried it
in [the Flink test refactor PR](https://github.com/apache/iceberg/pull/2047)
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]