PruneHiveTablePartitions Logical Optimization¶
PruneHiveTablePartitions
is a logical optimization for partitioned Hive tables.
Creating Instance¶
PruneHiveTablePartitions
takes the following to be created:
PruneHiveTablePartitions
is created when:
HiveSessionStateBuilder
is requested to customEarlyScanPushDownRules
updateTableMeta¶
updateTableMeta(
relation: HiveTableRelation,
prunedPartitions: Seq[CatalogTablePartition],
partitionKeyFilters: ExpressionSet): CatalogTable
updateTableMeta
...FIXME
updateTableMeta
is used when:
PruneHiveTablePartitions
is executed (for a partitioned HiveTableRelation logical operator under a filter)