aiwenmo commented on code in PR #3698:
URL: https://github.com/apache/flink-cdc/pull/3698#discussion_r1900861685


##########
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/functions/SystemFunctionUtils.java:
##########
@@ -184,6 +231,53 @@ public static int timestampDiff(String symbol, long 
fromDate, long toDate) {
         }
     }
 
+    public static TimestampData timestampadd(
+            String timeintervalunit, int interval, LocalZonedTimestampData 
timepoint) {
+        return timestampadd(timeintervalunit, interval, 
timepoint.getEpochMillisecond());
+    }
+
+    public static TimestampData timestampadd(
+            String timeintervalunit, int interval, ZonedTimestampData 
timepoint) {
+        return timestampadd(timeintervalunit, interval, 
timepoint.getMillisecond());
+    }
+
+    public static TimestampData timestampadd(
+            String timeintervalunit, int interval, TimestampData timepoint) {
+        return timestampadd(timeintervalunit, interval, 
timepoint.getMillisecond());
+    }
+
+    public static TimestampData timestampadd(
+            String timeintervalunit, int interval, long timepoint) {

Review Comment:
   okay



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