twalthr commented on pull request #13285:
URL: https://github.com/apache/flink/pull/13285#issuecomment-684776951


   The old exception was a runtime `NullPointerException` that is not covered 
by just running `execute()` without waiting for job completion. This was a 
mistake in the test. With this PR we can produce an exception in pre-flight 
phase. So calling `execInsertSqlAndWaitResult` is not necessary anymore as we 
fail earlier. Btw we will have a better API for waiting shortly. I reviewed it 
yesterday: https://github.com/apache/flink/pull/12688


----------------------------------------------------------------
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]


Reply via email to