Class MetadataChangedException

Object
Throwable
Exception
RuntimeException
java.util.ConcurrentModificationException
org.apache.spark.sql.delta.DeltaConcurrentModificationException
io.delta.exceptions.DeltaConcurrentModificationException
org.apache.spark.sql.delta.MetadataChangedException
io.delta.exceptions.MetadataChangedException
All Implemented Interfaces:
Serializable, org.apache.spark.SparkThrowable, org.apache.spark.sql.delta.DeltaThrowable, org.apache.spark.sql.delta.DeltaThrowableConditionShim

public class MetadataChangedException extends org.apache.spark.sql.delta.MetadataChangedException implements org.apache.spark.sql.delta.DeltaThrowable
:: Evolving ::

Thrown when the metadata of the Delta table has changed between the time of read and the time of commit.

Since:
1.0.0
See Also:
  • Constructor Details

    • MetadataChangedException

      public MetadataChangedException(String message)
    • MetadataChangedException

      public MetadataChangedException(String[] messageParameters)
  • Method Details

    • getErrorClass

      public String getErrorClass()
      Specified by:
      getErrorClass in interface org.apache.spark.sql.delta.DeltaThrowableConditionShim
      Specified by:
      getErrorClass in interface org.apache.spark.SparkThrowable
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable