Skip to content


SupportsRead is an extension of the Table abstraction for readable tables.


Creating ScanBuilder

ScanBuilder newScanBuilder(
  CaseInsensitiveStringMap options)

Creates a ScanBuilder

Used when:

  • DataSourceV2Relation logical operator is requested to computeStats
  • V2ScanRelationPushDown logical optimization is executed
  • MicroBatchExecution (Spark Structured Streaming) is requested for a logical query plan
  • ContinuousExecution (Spark Structured Streaming) is created (and initializes a logical query plan)


  • FileTable
  • KafkaTable
  • MemoryStreamTable (Spark Structured Streaming)
  • RateStreamTable (Spark Structured Streaming)
  • TextSocketTable (Spark Structured Streaming)