InMemoryFileIndex
InMemoryFileIndex
is a PartitioningAwareFileIndex for a partition schema and file list.
InMemoryFileIndex
is created when:
-
HiveMetastoreCatalog
is requested to inferIfNeeded (when requested to convert a HiveTableRelation) -
CatalogFileIndex
is requested for the partitions by the given predicate expressions for a non-partitioned Hive table -
DataSource
is requested to createInMemoryFileIndex -
Spark Structured Streaming’s
FileStreamSource
is used
Creating InMemoryFileIndex Instance
InMemoryFileIndex
takes the following to be created:
InMemoryFileIndex
initializes the internal properties.
Internal Properties
Name | Description | ||
---|---|---|---|
|
The root paths with no
|