Skip to content

Commit

Permalink
[fix] No need to cancel job again
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper committed Dec 4, 2024
1 parent 0baa838 commit c443257
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private CloseableIterator<Row> collect(TableResult result, int timeout) {
try {
Thread.sleep(1000);
if (client.getJobStatus().get().isGloballyTerminalState()) {
break;
return;
}
} catch (Exception e) {
client.cancel();
Expand Down

0 comments on commit c443257

Please sign in to comment.