You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2025/05/13 08:07:03 UTC

(paimon) branch release-1.1 updated: [hotfix] Fix mistake in ReadOptimizedTable

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 <ji...@gmail.com>
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()));
     }