Skip to content

Commit

Permalink
Remove uncessary chagne
Browse files Browse the repository at this point in the history
  • Loading branch information
linliu-code committed Jan 10, 2025
1 parent 39ca7fa commit 8fe93c7
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,15 @@ trait HoodieIncrementalRelationV2Trait extends HoodieBaseRelation {
.analyze()

protected lazy val includedCommits: immutable.Seq[HoodieInstant] = queryContext.getInstants.asScala.toList
protected lazy val commitsMetadata = includedCommits.map(getCommitMetadata(_, super.timeline)).asJava

protected lazy val commitsMetadata = includedCommits.map(
i => {
if (queryContext.getArchivedInstants.contains(i)) {
getCommitMetadata(i, queryContext.getArchivedTimeline)
} else {
getCommitMetadata(i, queryContext.getActiveTimeline)
}
}).asJava

protected lazy val affectedFilesInCommits: java.util.List[StoragePathInfo] = {
listAffectedFilesForCommits(conf, metaClient.getBasePath, commitsMetadata)
Expand Down

0 comments on commit 8fe93c7

Please sign in to comment.