This is an automated email from the ASF dual-hosted git repository.
yuzelin 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 7989e16667 [hotfix] TagPreview utils support DataTable (#5729)
7989e16667 is described below
commit 7989e16667df3f7fc7b86e12eae9d7a20aff53c8
Author: yuzelin <[email protected]>
AuthorDate: Wed Jun 11 09:48:20 2025 +0800
[hotfix] TagPreview utils support DataTable (#5729)
---
paimon-core/src/main/java/org/apache/paimon/tag/TagPreview.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/paimon-core/src/main/java/org/apache/paimon/tag/TagPreview.java
b/paimon-core/src/main/java/org/apache/paimon/tag/TagPreview.java
index dcc03bcda3..60edb03e08 100644
--- a/paimon-core/src/main/java/org/apache/paimon/tag/TagPreview.java
+++ b/paimon-core/src/main/java/org/apache/paimon/tag/TagPreview.java
@@ -20,7 +20,7 @@ package org.apache.paimon.tag;
import org.apache.paimon.CoreOptions;
import org.apache.paimon.Snapshot;
-import org.apache.paimon.table.FileStoreTable;
+import org.apache.paimon.table.DataTable;
import org.apache.paimon.utils.SnapshotManager;
import org.apache.paimon.utils.TagManager;
@@ -67,7 +67,7 @@ public class TagPreview {
return Optional.of(tag);
}
- public Map<String, String> timeTravel(FileStoreTable table, String tag) {
+ public Map<String, String> timeTravel(DataTable table, String tag) {
TagManager tagManager = table.tagManager();
if (tagManager.tagExists(tag)) {
return singletonMap(SCAN_TAG_NAME.key(), tag);