[HUDI-3836] Improve the way of fetching metadata partitions from table (#5286)
Co-authored-by: xicm <xicm@asiainfo.com>
This commit is contained in:
@@ -251,7 +251,7 @@ case class HoodieFileIndex(spark: SparkSession,
|
||||
override def sizeInBytes: Long = cachedFileSize
|
||||
|
||||
private def isColumnStatsIndexAvailable =
|
||||
HoodieTableMetadataUtil.getCompletedMetadataPartitions(metaClient.getTableConfig)
|
||||
metaClient.getTableConfig.getMetadataPartitions
|
||||
.contains(HoodieTableMetadataUtil.PARTITION_NAME_COLUMN_STATS)
|
||||
|
||||
private def isDataSkippingEnabled: Boolean =
|
||||
|
||||
Reference in New Issue
Block a user