This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new a530d9691 [minor] Just ignore the Long.MIN_VALUE watermark when 
creating the tag. (#3490)
a530d9691 is described below

commit a530d9691849f756f6a86b605d15047bc5229700
Author: HunterXHunter <[email protected]>
AuthorDate: Tue Jun 11 10:15:47 2024 +0800

    [minor] Just ignore the Long.MIN_VALUE watermark when creating the tag. 
(#3490)
---
 paimon-core/src/main/java/org/apache/paimon/tag/TagTimeExtractor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-core/src/main/java/org/apache/paimon/tag/TagTimeExtractor.java 
b/paimon-core/src/main/java/org/apache/paimon/tag/TagTimeExtractor.java
index 29bc34503..5b046e752 100644
--- a/paimon-core/src/main/java/org/apache/paimon/tag/TagTimeExtractor.java
+++ b/paimon-core/src/main/java/org/apache/paimon/tag/TagTimeExtractor.java
@@ -56,7 +56,7 @@ public interface TagTimeExtractor {
 
         @Override
         public Optional<LocalDateTime> extract(long timeMilli, @Nullable Long 
watermark) {
-            if (watermark == null || watermark < 0) {
+            if (watermark == null || watermark == Long.MIN_VALUE) {
                 return Optional.empty();
             }
 

Reply via email to