luoyuxia commented on code in PR #22977:
URL: https://github.com/apache/flink/pull/22977#discussion_r1263367999


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/catalog/CatalogPropertiesUtil.java:
##########
@@ -79,6 +80,11 @@ public static Map<String, String> 
serializeCatalogTable(ResolvedCatalogTable res
                 properties.put(COMMENT, comment);
             }
 
+            final Optional<Long> snapshot = resolvedTable.getSnapshot();
+            if (snapshot.isPresent()) {

Review Comment:
   ```suggestion
               snapshot.ifPresent(snapshotId -> properties.put(SNAPSHOT, 
Long.toString(snapshotId)));
   ```



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to