case class CheckpointProtectionPreDowngradeCommand(table: DeltaTableV2) extends PreDowngradeTableFeatureCommand with Product with Serializable
- Alphabetic
- By Inheritance
- CheckpointProtectionPreDowngradeCommand
- Serializable
- Serializable
- Product
- Equals
- PreDowngradeTableFeatureCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CheckpointProtectionPreDowngradeCommand(table: DeltaTableV2)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
removeFeatureTracesIfNeeded(): Boolean
To remove the feature we need to truncate all history prior to the atomic cleanup version.
To remove the feature we need to truncate all history prior to the atomic cleanup version. For this cleanup operation we use a shorter log retention period of 24 hours as defined in (delta.dropFeatureTruncateHistory.retentionDuration). The history truncation here needs to adhere to all the invariants established by the CheckpointProtectionTableFeature, similarly to any other metadata cleanup invocations (see doc in CheckpointProtectionTableFeature and REQUIRE_CHECKPOINT_PROTECTION_BEFORE_VERSION).
The pre-downgrade process here mimics the downgrade process of the legacy drop feature implementation for features with requiresHistoryProtection=true.
Note, this feature can only be dropped with the TRUNCATE HISTORY option. Therefore, the removal of CheckpointProtection does not require the addition of CheckpointProtection to protect history.
Always returns false since we do not perform any modifications that require history expiration. This allows the drop process to proceed immediately after we cleanup the history prior to requireCheckpointProtectionBeforeVersion.
- Definition Classes
- CheckpointProtectionPreDowngradeCommand → PreDowngradeTableFeatureCommand
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: DeltaTableV2
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()