AnishMahto opened a new pull request, #58645:
URL: https://github.com/apache/spark/pull/58645

   This is a stacked PR. See incremental diff here: 
https://github.com/AnishMahto/spark/compare/SPARK-59208-introduce-ignore-null-change-arg...SPARK-59183-populate-verison-map-at-ingest
   
   See previous PR in stack here: https://github.com/apache/spark/pull/58505
   
   ### What changes were proposed in this pull request?
   When processing an incoming microbatch, if ignore-null is enabled for the 
AutoCDC flow, a non-null version map needs to be populated for every row in the 
microbatch.
   
   As per the version map contract (see `Scd2VersionMap`'s scaladoc), the 
version map is populated with null-authorship information for every event, 
respecting the currently active ignore-null selection.
   
   This ticket is not concerned with reconciling the microbatch's version maps 
with existing rows in the aux/target table.
   
   
   ### Why are the changes needed?
   Core part of the algorithm for supporting ignore-null API in SCD2.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No. The user facing interfaces for ignore-null are not exposed yet, this 
logic cannot be hit yet.
   
   
   ### How was this patch tested?
   Unit tests.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   Co-authored with GPT-5.6 Sol.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to