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:
HiveSessionStateBuilderis requested to customEarlyScanPushDownRules
updateTableMeta¶
updateTableMeta(
relation: HiveTableRelation,
prunedPartitions: Seq[CatalogTablePartition],
partitionKeyFilters: ExpressionSet): CatalogTable
updateTableMeta...FIXME
updateTableMeta is used when:
PruneHiveTablePartitionsis executed (for a partitioned HiveTableRelation logical operator under a filter)