trait CreateDeltaTableLike extends SQLConfHelper
A common trait implementing utility functions (e.g. catalog operations) for all commands that create a Delta table.
- Alphabetic
- By Inheritance
- CreateDeltaTableLike
- SQLConfHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val existingTableOpt: Option[CatalogTable]
- abstract val mode: SaveMode
- abstract val operation: CreationMode
- abstract val table: CatalogTable
Concrete 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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def conf: SQLConf
- Definition Classes
- SQLConfHelper
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getCatalogTableWithLocation(sparkSession: SparkSession): CatalogTable
Generates a
CatalogTablewith itslocationUriset appropriately, depending on whether the table already exists or is newly created.Generates a
CatalogTablewith itslocationUriset appropriately, depending on whether the table already exists or is newly created.- Attributes
- protected
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isV1Writer: Boolean
Horrible hack to differentiate between DataFrameWriterV1 and V2 so that we can decide what to do with table metadata.
Horrible hack to differentiate between DataFrameWriterV1 and V2 so that we can decide what to do with table metadata. In DataFrameWriterV1, mode("overwrite").saveAsTable, behaves as a CreateOrReplace table, but we have asked for "overwriteSchema" as an explicit option to overwrite partitioning or schema information. With DataFrameWriterV2, the behavior asked for by the user is clearer: .createOrReplace(), which means that we should overwrite schema and/or partitioning. Therefore we have this hack.
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tableByPath: Boolean
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateCatalog(spark: SparkSession, table: CatalogTable, snapshot: Snapshot, query: Option[LogicalPlan], didNotChangeMetadata: Boolean, createTableFunc: Option[(CatalogTable) => Unit] = None): Unit
Here we disambiguate the catalog alterations we need to do based on the table operation, and whether we have reached here through legacy code or DataSourceV2 code paths.
Here we disambiguate the catalog alterations we need to do based on the table operation, and whether we have reached here through legacy code or DataSourceV2 code paths.
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withSQLConf[T](pairs: (String, String)*)(f: => T): T
- Attributes
- protected
- Definition Classes
- SQLConfHelper
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)