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
6.96k stars 1.58k forks source link

[Spark] Add drop support for managed commits #3010

Closed dhruvarya-db closed 1 week ago

dhruvarya-db commented 2 weeks ago

Which Delta project/connector is this regarding?

Description

Adds table feature phaseout support for managed commits. Fixes the ManagedCommit table feature --> correctly marks it as a WriterFeature instead of a ReaderWriterFeature.

How was this patch tested?

New tests in DeltaProtocolVersionSuite.

Does this PR introduce any user-facing changes?

Yes, the drop table command now works for managed commits.