nsivabalan edited a comment on pull request #2438: URL: https://github.com/apache/hudi/pull/2438#issuecomment-864418016
actually, we can make it even more simpler. DeltaSync.read() ``` // set right checkpoint value if(cfg.checkpoint != null && ! (commitMetadata.contains(Checkpoint_RESET_Key) ) { checkpoint = cfg.checkpoint; } else if (commitMetadata.contains(Checkpoint_Key)) { checkpoint = commitMetadata.get(Checkpoint_Key)); } else { Option.empty() } // New addition if (commitMetadata.contains(Checkpoint_RESET_Key)) { **reset checkpoint type if set.** } ``` -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org