@Evolving public class CommitFailedException extends Exception
CommitCoordinatorClientHandler.commit(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, long, io.delta.kernel.utils.CloseableIterator<io.delta.kernel.data.Row>, io.delta.kernel.internal.coordinatedcommits.UpdatedActions)
| 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) |
| Constructor and Description |
|---|
CommitFailedException(boolean retryable,
boolean conflict,
String message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConflict()
Returns whether the commit failed due to a conflict.
|
boolean |
getRetryable()
Returns whether the commit attempt can be retried.
|
public CommitFailedException(boolean retryable,
boolean conflict,
String message)
public boolean getRetryable()
public boolean getConflict()