delta-io / delta

An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs
https://delta.io
Apache License 2.0
7.22k stars 1.62k forks source link

[Spark] Support dropping Change Data Feed table feature #3280

Open tomvanbussel opened 1 week ago

tomvanbussel commented 1 week ago

Which Delta project/connector is this regarding?

Description

This PR adds support for dropping the changeDataFeed table feature. It automatically removes delta.enableChangeDataFeed property from the table.

How was this patch tested?

Added a test to DeltaCDCSQLSuite.

Does this PR introduce any user-facing changes?

Yes, users can now run ALTER TABLE ... DROP FEATURE changeDataFeed.