[
https://issues.apache.org/jira/browse/SPARK-57251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anish Mahto updated SPARK-57251:
--------------------------------
Description:
Reserved framework columns in SCD2 are columns that will be projected onto the
microbatch/target table by the core reconciliation algorithm, and therefore:
* The user's source dataframe should not contain columns with the same name,
because they would get replaced or throw a name conflict error on
reconciliation.
* The user should not be able to exclude these columns through target column
selection via the AutoCDC API
Validation should be done at `AutoCDCMergeFlow` construction time.
was:
Reserved framework columns in SCD2 are columns that will be projected onto the
microbatch/target table by the core reconciliation algorithm, and therefore:
* The user's source dataframe should not contain columns with the same name,
because they would get replaced or throw a name conflict error on
reconciliation.
* The user should not be able to exclude these columns through target column
selection via the AutoCDC API
> AutoCDC SCD2 Invalidated Reserved Framework Cols in Source/Column Selection
> ---------------------------------------------------------------------------
>
> Key: SPARK-57251
> URL: https://issues.apache.org/jira/browse/SPARK-57251
> Project: Spark
> Issue Type: Sub-task
> Components: Declarative Pipelines
> Affects Versions: 4.3.0
> Reporter: Anish Mahto
> Priority: Major
>
> Reserved framework columns in SCD2 are columns that will be projected onto
> the microbatch/target table by the core reconciliation algorithm, and
> therefore:
> * The user's source dataframe should not contain columns with the same name,
> because they would get replaced or throw a name conflict error on
> reconciliation.
> * The user should not be able to exclude these columns through target column
> selection via the AutoCDC API
> Validation should be done at `AutoCDCMergeFlow` construction time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]