Skip to content

[Kernel] Add Transaction.validateForCommit API - #2

Draft
weiluo-db wants to merge 1 commit into
masterfrom
codex/validate-for-commit-prototype
Draft

weiluo-db wants to merge 1 commit into
masterfrom
codex/validate-for-commit-prototype

Conversation

@weiluo-db

Copy link
Copy Markdown
Owner

Adds an experimental Transaction.validateForCommit(Engine, CloseableIterable) method that runs the action-dependent preparation and validation performed prior to invoking the Committer (row-tracking preparation, domain metadata validation, append-only checks, and supported CDF action combinations) without committing.

Co-authored-by: Isaac

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

How was this patch tested?

Does this PR introduce any user-facing changes?

Adds an experimental Transaction.validateForCommit(Engine, CloseableIterable<Row>)
method that runs the action-dependent preparation and validation performed prior
to invoking the Committer (row-tracking preparation, domain metadata validation,
append-only checks, and supported CDF action combinations) without committing.

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant