Interface SupportsPushDownTableSample

All Superinterfaces:
ScanBuilder

@Evolving public interface SupportsPushDownTableSample extends ScanBuilder
A mix-in interface for Scan. Data sources can implement this interface to push down SAMPLE.
Since:
3.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    pushTableSample(double lowerBound, double upperBound, boolean withReplacement, long seed)
    Pushes down SAMPLE to the data source.

    Methods inherited from interface org.apache.spark.sql.connector.read.ScanBuilder

    build
  • Method Details

    • pushTableSample

      boolean pushTableSample(double lowerBound, double upperBound, boolean withReplacement, long seed)
      Pushes down SAMPLE to the data source.