nsivabalan commented on a change in pull request #4073:
URL: https://github.com/apache/hudi/pull/4073#discussion_r755626051



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/compact/strategy/BoundedPartitionAwareCompactionStrategy.java
##########
@@ -39,14 +39,17 @@
  */
 public class BoundedPartitionAwareCompactionStrategy extends 
DayBasedCompactionStrategy {
 
-  SimpleDateFormat dateFormat = new 
SimpleDateFormat(DayBasedCompactionStrategy.DATE_PARTITION_FORMAT);
+  // NOTE: {@code SimpleDataFormat} is NOT thread-safe
+  // TODO replace w/ DateTimeFormatter

Review comment:
       do we have a tracking ticket for this? 




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