Skip to content

PostCommitHook

PostCommitHook is an abstraction of post-commit hooks that can be executed (at the end of transaction commit).

Contract

Name

name: String

User-friendly name of the hook for error reporting

Executing Post-Commit Hook

run(
  spark: SparkSession,
  txn: OptimisticTransactionImpl,
  committedActions: Seq[Action]): Unit

Used when:

Implementations


Last update: 2021-05-22
Back to top