yunfengzhou-hub commented on PR #4611:
URL: https://github.com/apache/paimon/pull/4611#issuecomment-2510636951

   > I am concern about the serialization for watermark spec, can you create 
some test for compatibility? (You can create schema file from old Paimon, and 
read it in tests)
   
   @JingsongLi `FlinkCatalogPropertiesUtilTest` has recorded the serialization 
result as follows
   ```java
   Map<String, String> expected = new HashMap<>();
   String watermarkPrefix = compoundKey(SCHEMA, WATERMARK, 0);
   expected.put(compoundKey(watermarkPrefix, WATERMARK_ROWTIME), "test_time");
   expected.put(
           compoundKey(watermarkPrefix, WATERMARK_STRATEGY_EXPR),
           "`test_time` - INTERVAL '0.001' SECOND");
   expected.put(compoundKey(watermarkPrefix, WATERMARK_STRATEGY_DATA_TYPE), 
"TIMESTAMP(3)");
   ```
   This code stands for the serialization result since the older versions of 
Paimon. This PR does not change this part of code, which means the 
compatibility should be guaranteed.


-- 
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...@paimon.apache.org

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

Reply via email to