org.apache.spark.sql.execution.datasources
as set of options to control partition discovery
an optional partition schema that will be use to provide types for the discovered partitions
Returns the specification of the partitions inferred from the data.
Refresh any cached file listings
Refresh any cached file listings
Returns the list of root input paths from which the catalog will get files.
Returns the list of root input paths from which the catalog will get files. There may be a single root path from which partitions are discovered, or individual partitions may be specified by each path.
Returns the list of files that will be read when scanning this relation.
Returns the list of files that will be read when scanning this relation.
Returns all valid files grouped into partitions when the data is partitioned.
Returns all valid files grouped into partitions when the data is partitioned. If the data is unpartitioned, this will return a single partition with no partition values.
The filters used to prune which partitions are returned. These filters must
only refer to partition columns and this method will only return files
where these predicates are guaranteed to evaluate to true
. Thus, these
filters will not need to be evaluated again on the returned data.
List leaf files of given paths.
List leaf files of given paths. This method will submit a Spark job to do parallel listing whenever there is a path having more files than the parallel partition discovery discovery threshold.
This is publicly visible for testing.
Schema of the partitioning columns, or the empty schema if the table is not partitioned.
Schema of the partitioning columns, or the empty schema if the table is not partitioned.
Sum of table file sizes, in bytes
Sum of table file sizes, in bytes
An abstract class that represents FileIndexs that are aware of partitioned tables. It provides the necessary methods to parse partition data based on a set of files.