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

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


The following commit(s) were added to refs/heads/release-1.1 by this push:
     new 028956fc9d [hotfix] Fix mistake in ReadOptimizedTable
028956fc9d is described below

commit 028956fc9dda56c169951a8125fe0d81cdca7ba3
Author: JingsongLi <[email protected]>
AuthorDate: Tue May 13 16:06:54 2025 +0800

    [hotfix] Fix mistake in ReadOptimizedTable
---
 .../main/java/org/apache/paimon/table/system/ReadOptimizedTable.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-core/src/main/java/org/apache/paimon/table/system/ReadOptimizedTable.java
 
b/paimon-core/src/main/java/org/apache/paimon/table/system/ReadOptimizedTable.java
index 8625de6b2f..1e83333e12 100644
--- 
a/paimon-core/src/main/java/org/apache/paimon/table/system/ReadOptimizedTable.java
+++ 
b/paimon-core/src/main/java/org/apache/paimon/table/system/ReadOptimizedTable.java
@@ -150,7 +150,7 @@ public class ReadOptimizedTable implements DataTable, 
ReadonlyTable {
         return new DataTableBatchScan(
                 !wrapped.schema().primaryKeys().isEmpty(),
                 wrapped.coreOptions(),
-                newSnapshotReader(),
+                newSnapshotReader(wrapped),
                 DefaultValueAssigner.create(wrapped.schema()));
     }
 

Reply via email to