yihua commented on code in PR #12826:
URL: https://github.com/apache/hudi/pull/12826#discussion_r1976005065


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/IncrementalRelationV2.scala:
##########
@@ -141,9 +141,11 @@ class IncrementalRelationV2(val sqlContext: SQLContext,
 
       // create Replaced file group
       val replacedInstants = 
commitsToReturn.filter(_.getAction.equals(HoodieTimeline.REPLACE_COMMIT_ACTION))
+      val layout = 
TimelineLayout.fromVersion(commitTimeline.getTimelineLayoutVersion)
+

Review Comment:
   nit: remove lines



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to