lokeshj1703 commented on code in PR #8631:
URL: https://github.com/apache/hudi/pull/8631#discussion_r1188380042
##########
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieInstantTimeGenerator.java:
##########
@@ -135,7 +133,7 @@ private static TemporalAccessor
convertDateToTemporalAccessor(Date d) {
}
public static void setCommitTimeZone(HoodieTimelineTimeZone commitTimeZone) {
- commitTimeZoneOpt = Option.of(commitTimeZone);
+ HoodieInstantTimeGenerator.commitTimeZone = commitTimeZone;
Review Comment:
Do you mean making this method synchronized or making
`HoodieInstantTimeGenerator` a singleton?
--
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]