Skip to content

Commit 5ff77ac

Browse files
committed
[hotfix] Correct dataSchemaRowType in FormatReaderMapping
1 parent 3301f02 commit 5ff77ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

paimon-core/src/main/java/org/apache/paimon/utils/FormatReaderMapping.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ public FormatReaderMapping build(
231231
formatDiscover
232232
.discover(formatIdentifier)
233233
.createReaderFactory(
234-
dataSchema.logicalRowType(), actualReadRowType, readFilters),
234+
new RowType(allDataFieldsInFile),
235+
actualReadRowType,
236+
readFilters),
235237
dataSchema,
236238
readFilters,
237239
systemFields,

0 commit comments

Comments
 (0)