InMemoryFileIndex
InMemoryFileIndex is a PartitioningAwareFileIndex for a partition schema and file list.
InMemoryFileIndex is created when:
-
HiveMetastoreCatalogis requested to inferIfNeeded (when requested to convert a HiveTableRelation) -
CatalogFileIndexis requested for the partitions by the given predicate expressions for a non-partitioned Hive table -
DataSourceis requested to createInMemoryFileIndex -
Spark Structured Streaming’s
FileStreamSourceis 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
|