Izeren commented on code in PR #27162:
URL: https://github.com/apache/flink/pull/27162#discussion_r2469084615


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/utils/DateTimeUtils.java:
##########
@@ -1481,7 +1481,9 @@ public static String formatUnixTimestamp(long unixtime, 
String format, TimeZone
         try {
             return formatter.format(date);
         } catch (Exception e) {
-            LOG.error("Exception when formatting.", e);
+            LOG.debug(
+                    String.format(
+                            "Exception when formatting date '%s' to format 
'%s'.", date, format));

Review Comment:
   That is also dangerous from PII point of view if customer accidentally tries 
to convert some PII containing field into timestamp



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