Package io.delta.kernel.exceptions
Class ConcurrentTransactionException
Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.ConcurrentWriteException
io.delta.kernel.exceptions.ConcurrentTransactionException
- All Implemented Interfaces:
Serializable
Thrown when concurrent transaction both attempt to update the table with same transaction
identifier set through
TransactionBuilder.withTransactionId(Engine, String, long)
(String)}.
Incremental processing systems (e.g., streaming systems) that track progress using their own application-specific versions need to record what progress has been made, in order to avoid duplicating data in the face of failures and retries during writes. For more information refer to the Delta protocol section Transaction Identifiers
- Since:
- 3.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentTransactionException(String appId, long txnVersion, long lastUpdated) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConcurrentTransactionException
-