You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anish Mahto (Jira)" <ji...@apache.org> on 2026/09/25 17:00:01 UTC

[jira] [Created] (SPARK-59786) SCD1 Ignore-null support; Populate version map per event row at ingest

Anish Mahto created SPARK-59786:
-----------------------------------

             Summary: SCD1 Ignore-null support; Populate version map per event row at ingest
                 Key: SPARK-59786
                 URL: https://issues.apache.org/jira/browse/SPARK-59786
             Project: Spark
          Issue Type: Sub-task
          Components: Declarative Pipelines
    Affects Versions: 4.4.0
            Reporter: Anish Mahto


When processing an incoming microbatch, if ignore-null is enabled for the AutoCDC flow, a non-null version map is populated for every upsert row. Delete rows retain a null version map and are handled as row-wide authorship during later reconciliation.

Per the version-map contract documented in `Scd1VersionMap`, the map contains authorship information for every non-key user-data leaf in the target-aligned row. This ticket stamps each upsert independently, using only that row’s values and sequencing value.

This ticket does not reconcile microbatch version maps with existing auxiliary or target-table state, nor does it reconcile multiple microbatch rows targeting the same key.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org