anew opened a new pull request, #56045: URL: https://github.com/apache/spark/pull/56045
### What changes were proposed in this pull request? Adds `create_auto_cdc_flow` to the the SDP Python API. For now, this will only support SCD Type 1. Parameters: - name: the name of the flow - target: the target table - source: the source dataset with the change events - keys: the unique key per row, - sequence_by: a sequence id to establish time order - apply_as_deletes: a boolean expression indicating whether an event represents a delete - apply_as_truncates: a boolean expression indicating whether an event represents a truncation - column_list: a list of columns to include in the target table - except_column_list: a list of columns to exclude from the target table - stored_as_scd_type the SCD type, must be 1 - ignore_null_updates_column_list: a list of columns for which to ignore null values - ignore_null_updates_except_column_list: a list of columns for which not to ignore null values - source_code_location: the location in the Python source code that defines this flow ### Why are the changes needed? See the SPIP at https://docs.google.com/document/d/1Hp5BGEYJRHbk6J7XUph3bAPZKRQXKOuV1PEaqZMMRoQ/ ### Does this PR introduce _any_ user-facing change? Yes, it introduces a new method in the SDP Python API. ### How was this patch tested? Unit tests were added, using a local graph registry. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Sonnet 4.6 -- 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]
