Skip to content

SupportsTruncate

SupportsTruncate is an extension of the WriteBuilder abstraction for tables that support truncation.

Contract

Truncation

WriteBuilder truncate()

WriteBuilder that can replace all existing data with data committed in the write

Used when:

  • OverwriteByExpressionExec and OverwriteByExpressionExecV1 physical operators are executed
  • StreamExecution stream execution engine (Spark Structured Streaming) is requested to createStreamingWrite

Implementations