snuyanzin commented on code in PR #27132:
URL: https://github.com/apache/flink/pull/27132#discussion_r2444203017


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/ShowCreateUtil.java:
##########
@@ -321,7 +321,7 @@ static String 
extractFreshness(ResolvedCatalogMaterializedTable materializedTabl
         final IntervalFreshness definitionFreshness = 
materializedTable.getDefinitionFreshness();
         return String.format(
                 "FRESHNESS = INTERVAL '%s' %s",
-                definitionFreshness.getInterval(), 
definitionFreshness.getTimeUnit());
+                definitionFreshness.getIntervalInt(), 
definitionFreshness.getTimeUnit());

Review Comment:
   I would keep the old name in order to avoid new methods like 
`getIntervalString` and etc...



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