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


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bucket/ConsistentBucketAssignFunction.java:
##########
@@ -135,9 +136,9 @@ private ConsistentBucketIdentifier 
getBucketIdentifier(String partition) {
   public void snapshotState(FunctionSnapshotContext functionSnapshotContext) 
throws Exception {
     HoodieTimeline timeline = 
writeClient.getHoodieTable().getActiveTimeline().getCompletedReplaceTimeline().findInstantsAfter(lastRefreshInstant);
     if (!timeline.empty()) {
+      TimelineLayout layout = 
TimelineLayout.fromVersion(timeline.getTimelineLayoutVersion());

Review Comment:
   nit: this variable is redundant



-- 
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