1
0

[HUDI-319] Add a new maven profile to generate unified Javadoc for all Java and Scala classes (#1195)

* Add javadoc build command in README, links to javadoc plugin and rename profile.
* Make java version configurable in one place.
This commit is contained in:
Y Ethan Guo
2020-01-08 10:38:10 -08:00
committed by vinoth chandar
parent aba83876e7
commit 480fc7869d
3 changed files with 121 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ class IncrementalRelation(val sqlContext: SQLContext,
throw new HoodieException("Incremental view not implemented yet, for merge-on-read tables")
}
// TODO : Figure out a valid HoodieWriteConfig
val hoodieTable = HoodieTable.getHoodieTable(metaClient, HoodieWriteConfig.newBuilder().withPath(basePath).build(),
private val hoodieTable = HoodieTable.getHoodieTable(metaClient, HoodieWriteConfig.newBuilder().withPath(basePath).build(),
sqlContext.sparkContext)
val commitTimeline = hoodieTable.getMetaClient.getCommitTimeline.filterCompletedInstants()
if (commitTimeline.empty()) {