1
0

[HUDI-3179] Extracted common AbstractHoodieTableFileIndex to be shared across engines (#4520)

This commit is contained in:
Alexey Kudinkin
2022-01-16 22:46:20 -08:00
committed by GitHub
parent ed92c217ed
commit 75caa7d3d8
10 changed files with 732 additions and 520 deletions

View File

@@ -273,7 +273,7 @@ class TestHoodieFileIndex extends HoodieClientTestBase {
val fileIndex = HoodieFileIndex(spark, metaClient, None,
queryOpts ++ Map(HoodieMetadataConfig.ENABLE.key -> useMetaFileList.toString))
// test if table is partitioned on nested columns, getAllQueryPartitionPaths does not break
assert(fileIndex.getAllQueryPartitionPaths.get(0).partitionPath.equals("c"))
assert(fileIndex.getAllQueryPartitionPaths.get(0).path.equals("c"))
}
private def attribute(partition: String): AttributeReference = {