Interface SupportsReportOrdering

All Superinterfaces:
Scan

@Evolving public interface SupportsReportOrdering extends Scan
A mix in interface for Scan. Data sources can implement this interface to report the order of data in each partition to Spark. Global order is part of the partitioning, see SupportsReportPartitioning.

Spark uses ordering information to exploit existing order to avoid sorting required by subsequent operations.

Since:
3.4.0
  • Method Details

    • outputOrdering

      SortOrder[] outputOrdering()
      Returns the order in each partition of this data source scan.