You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SC-5559] Support logical delete and gc of commit markers in DatabricksAtomicCommitProtocol
## What changes were proposed in this pull request?
This implements the newly added `deleteWithJob()` hook in `DatabricksAtomicCommitProtocol`. It can be flag-enabled independent of the commit protocol choice.
I also implemented support for eventual gc of the commit markers using the mechanism we discussed of marking them as deleted in another commit marker.
### Config flags:
com.databricks.sql.enableLogicalDelete -- whether to enable atomic overwrites (default true)
## How was this patch tested?
Existing unit tests.
Author: Eric Liang <[email protected]>
Author: Eric Liang <[email protected]>
Closesapache#167 from ericl/overwrite.
Copy file name to clipboardExpand all lines: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,20 @@ case class InsertIntoHadoopFsRelationCommand(
0 commit comments