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 f6e01966ea [flink] Fixed an issue with field type matching errors
during lookup. (#6972) (#6974)
f6e01966ea is described below
commit f6e01966ea3266f9b0ae17512c6f29d810878f43
Author: Forus <[email protected]>
AuthorDate: Thu Jan 8 13:10:37 2026 +0800
[flink] Fixed an issue with field type matching errors during lookup.
(#6972) (#6974)
---
.../org/apache/paimon/flink/lookup/FileStoreLookupFunction.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java
b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java
index 7df4742101..421867c499 100644
---
a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java
+++
b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java
@@ -129,8 +129,11 @@ public class FileStoreLookupFunction implements
Serializable, Closeable {
.collect(Collectors.toList());
this.projectFieldsGetters =
- Arrays.stream(projection)
- .mapToObj(i ->
InternalRow.createFieldGetter(rowType.getTypeAt(i), i))
+ IntStream.range(0, projection.length)
+ .mapToObj(
+ i ->
+ InternalRow.createFieldGetter(
+
rowType.getTypeAt(projection[i]), i))
.collect(Collectors.toList());
// add primary keys