Skip to content

RowId

extractHighWatermark

extractHighWatermark(
  snapshot: Snapshot): Option[Long]

extractHighWatermark...FIXME


extractHighWatermark is used when:

isSupported

isSupported(
  protocol: Protocol): Boolean

isSupported isSupported with the given Protocol.


isSupported is used when:

isEnabled

isEnabled(
  protocol: Protocol,
  metadata: Metadata): Boolean

isEnabled holds true when the following are all met:

  1. delta.enableRowTracking table property is enabled (in the given Metadata)
  2. Row Tracking feature is supported

RowTracking

This is an exact copy of RowTracking.isEnabled.


isEnabled is used when:

assignFreshRowIds

assignFreshRowIds(
  protocol: Protocol,
  snapshot: Snapshot,
  actions: Iterator[Action]): Iterator[Action]

assignFreshRowIds...FIXME


assignFreshRowIds is used when:

checkStatsCollectedIfRowTrackingSupported

checkStatsCollectedIfRowTrackingSupported(
  protocol: Protocol,
  convertToDeltaShouldCollectStats: Boolean,
  statsCollectionEnabled: Boolean): Unit
Procedure

checkStatsCollectedIfRowTrackingSupported is a procedure (returns Unit) so what happens inside stays inside (paraphrasing the former advertising slogan of Las Vegas, Nevada).

checkStatsCollectedIfRowTrackingSupported throws a DeltaIllegalStateException when either the given convertToDeltaShouldCollectStats or statsCollectionEnabled flag are disabled (false).

Otherwise, checkStatsCollectedIfRowTrackingSupported does nothing.


checkStatsCollectedIfRowTrackingSupported is used when:

verifyMetadata

verifyMetadata(
  oldProtocol: Protocol,
  newProtocol: Protocol,
  oldMetadata: Metadata,
  newMetadata: Metadata,
  isCreatingNewTable: Boolean): Unit
Procedure

verifyMetadata is a procedure (returns Unit) so what happens inside stays inside (paraphrasing the former advertising slogan of Las Vegas, Nevada).

verifyMetadata throws an UnsupportedOperationException when...FIXME


verifyMetadata is used when: