Skip to content

[SPARK-59640][SDP] SCD2 Ignore-null support; add version-map authorship operations - #58914

Open
AnishMahto wants to merge 18 commits into
apache:masterfrom
AnishMahto:SPARK-59640-scd2-version-map-authorship-operations
Open

AnishMahto wants to merge 18 commits into
apache:masterfrom
AnishMahto:SPARK-59640-scd2-version-map-authorship-operations

Conversation

@AnishMahto

Copy link
Copy Markdown
Contributor

This is a stacked PR. See incremental diff here: AnishMahto/spark@SPARK-59183-populate-verison-map-at-ingest...SPARK-59640-scd2-version-map-authorship-operations.

See previous PR in stack here: #58645

What changes were proposed in this pull request?

Implement the operations that SCD2 ignore-null coalescing will need to use to interface with the version map to determine leaf authorship, lazy materialization on schema evolution, etc.

Why are the changes needed?

Interfaces needed for SCD2 ignore null coalescing (future PRs) to determine and update authorship information in a row's version map.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit tests added to Scd2VersionMapSuite.

Was this patch authored or co-authored using generative AI tooling?

Co-authored with GPT Sol 5.6.

@AnishMahto

Copy link
Copy Markdown
Contributor Author

@jose-torres for review. Pretty short (if you don't include tests or scaladocs!) and well contained PR. Version map APIs added are not yet actually used during reconciliation, but are all unit tested.

They will be used in the next PR in the stack, which I will put up soon.

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