object DeltaSourceMetadataEvolutionSupport

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaSourceMetadataEvolutionSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allowTypeWidening(spark: SparkSession): Boolean

    Whether to accept widening type changes:

    Whether to accept widening type changes:

    • when true, widening type changes cause the stream to fail, requesting user to review and unblock them via a SQL conf or reader option.
    • when false, widening type changes are rejected without possibility to unblock, similar to any other arbitrary type change.
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bypassTypeChangeCheck(spark: SparkSession): Boolean

    We historically allowed any type changes to go through when schema tracking was enabled.

    We historically allowed any type changes to go through when schema tracking was enabled. This config allows reverting to that behavior.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def getCheckpointHash(path: String): Int
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def validateIfSchemaChangeCanBeUnblocked(spark: SparkSession, parameters: Map[String, String], metadataPath: String, currentSchema: PersistedMetadata, previousSchema: PersistedMetadata): Unit

    Given a non-additive operation type from a previous schema evolution, check we can process using the new schema given any SQL conf or dataframe reader option users have explicitly set to unblock.

    Given a non-additive operation type from a previous schema evolution, check we can process using the new schema given any SQL conf or dataframe reader option users have explicitly set to unblock. The SQL conf can take one of following formats: 1. spark.databricks.delta.streaming.allowSourceColumn$action = "always" -> allows non-additive schema change to propagate for all streams. 2. spark.databricks.delta.streaming.allowSourceColumn$action.$checkpointHash = "always" -> allows non-additive schema change to propagate for this particular stream. 3. spark.databricks.delta.streaming.allowSourceColumn$action.$checkpointHash = $deltaVersion -> allow non-additive schema change to propagate only for this particular stream source table version. The reader options can take one of the following format: 1. .option("allowSourceColumn$action", "always") -> allows non-additive schema change to propagate for this particular stream. 2. .option("allowSourceColumn$action", "$deltaVersion") -> allow non-additive schema change to propagate only for this particular stream source table version. where allowSourceColumn$action is one of: 1. allowSourceColumnRename to allow column renames. 2. allowSourceColumnDrop to allow column drops. 3. allowSourceColumnTypeChange to allow widening type changes. For SQL confs only, action can also be allowSourceColumnRenameAndDrop to allow both column drops and renames.

    We will check for any of these configs given the non-additive operation, and throw a proper error message to instruct the user to set the SQL conf / reader options if they would like to unblock.

    metadataPath

    The path to the source-unique metadata location under checkpoint

    currentSchema

    The current persisted schema

    previousSchema

    The previous persisted schema

    Attributes
    protected[sources]
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped