luchunliang commented on code in PR #10042:
URL: https://github.com/apache/inlong/pull/10042#discussion_r1575583414


##########
inlong-common/src/main/java/org/apache/inlong/common/pojo/sort/dataflow/field/format/DateFormatInfo.java:
##########
@@ -50,11 +50,15 @@ public class DateFormatInfo implements 
BasicFormatInfo<Date> {
     @Nullable
     private final SimpleDateFormat simpleDateFormat;
 
+    @JsonIgnore
+    @Nullable
+    private final ThreadLocal<SimpleDateFormat> threadLocal;

Review Comment:
   There is a SimpleDateFormat in every field object. 
   It is better to use DateFormat tool class.



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