Package io.delta.kernel.commit
Class CommitFailedException
- All Implemented Interfaces:
Serializable
Exception raised by
Committer.commit(io.delta.kernel.engine.Engine, io.delta.kernel.utils.CloseableIterator<io.delta.kernel.data.Row>, io.delta.kernel.commit.CommitMetadata).
| retryable | conflict | meaning | | no | no | something bad happened (e.g. auth failure) | | no | yes | permanent transaction conflict (e.g. multi-table commit failed) | | yes | no | transient error (e.g. network hiccup) | | yes | yes | physical conflict (allowed to rebase and retry) |
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommitFailedException(boolean retryable, boolean conflict, String message) CommitFailedException(boolean retryable, boolean conflict, String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the commit failed due to a conflict.booleanReturns whether the commit can be retried.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CommitFailedException
-
CommitFailedException
-
-
Method Details