fuchanghai commented on code in PR #13050:
URL: 
https://github.com/apache/dolphinscheduler/pull/13050#discussion_r1035555116


##########
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/json/DateJsonSerializer.java:
##########
@@ -33,6 +34,14 @@ public class DateJsonSerializer extends JsonSerializer<Date> 
{
 
     @Override
     public void serialize(Date value, JsonGenerator gen, SerializerProvider 
serializers) throws IOException {
-        gen.writeString(DateUtils.dateToString(value));
+        Date temp = value;
+        // In the internal implementation of JDK, sql.Date is inherited from 
util.Date, and sql.Date has rewritten many methods in util.Date, but it has not 
been implemented.

Review Comment:
   plz write the full path to the class ,like ``` java.util.Date```



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