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/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 9325ae814 [flink] validate dataFileMeta maxKey field (#1757)
9325ae814 is described below
commit 9325ae81495ce7ccf152e5d62e27958e8411d15b
Author: Asura7969 <[email protected]>
AuthorDate: Tue Aug 8 13:32:03 2023 +0800
[flink] validate dataFileMeta maxKey field (#1757)
---
.../src/main/java/org/apache/paimon/table/system/FilesTable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java
b/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java
index c00900734..c7a7e1ec7 100644
--- a/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java
+++ b/paimon-core/src/main/java/org/apache/paimon/table/system/FilesTable.java
@@ -327,7 +327,7 @@ public class FilesTable implements ReadonlyTable {
.apply(dataFileMeta.schemaId())
.convert(dataFileMeta.minKey()))),
() ->
- dataFileMeta.minKey().getFieldCount() <= 0
+ dataFileMeta.maxKey().getFieldCount() <= 0
? null
: BinaryString.fromString(
Arrays.toString(