Andreas Neumann created SPARK-58319:
---------------------------------------

             Summary: Derive SCD2 AutoCDC target table schema
                 Key: SPARK-58319
                 URL: https://issues.apache.org/jira/browse/SPARK-58319
             Project: Spark
          Issue Type: Sub-task
          Components: Declarative Pipelines
    Affects Versions: 5.0.0
            Reporter: Andreas Neumann


Implement the ScdType.Type2 branch of AutoCdcMergeFlow.schema (and load) in 
Flow.scala, appending the SCD2 framework columns (__START_AT, __END_AT, 
_cdc_metadata) to the user-selected schema, analogous to the existing SCD1 
branch which appends only _cdc_metadata. This is additive and dormant: the 
AUTOCDC_SCD2_NOT_SUPPORTED flow-construction gate remains until the switch-flip 
subtask, so no SCD2 flow is constructible yet. Sub-task of the SCD2 end-to-end 
enablement effort under SPARK-56249.



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

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

Reply via email to