leaves12138 commented on code in PR #5935: URL: https://github.com/apache/paimon/pull/5935#discussion_r2235271548
########## paimon-core/src/main/java/org/apache/paimon/io/DataFileRecordReader.java: ########## @@ -81,6 +107,36 @@ public FileRecordIterator<InternalRow> readBatch() throws IOException { final ProjectedRow projectedRow = ProjectedRow.from(indexMapping); iterator = iterator.transform(projectedRow::replaceRow); } + + if (rowLineageEnabled && !metaColumnIndex.isEmpty()) { + GenericRow lineageRow = new GenericRow(metaColumnIndex.size()); + + int[] fallbackToMetaRowLineageMappings = new int[tableRowType.getFieldCount()]; Review Comment: OK ########## paimon-core/src/main/java/org/apache/paimon/manifest/ManifestEntry.java: ########## @@ -140,6 +140,15 @@ public ManifestEntry copyWithoutStats() { return new ManifestEntry(kind, partition, bucket, totalBuckets, file.copyWithoutStats()); } + public ManifestEntry copyWithMaxSequenceNumber(long maxSequenceNumber) { Review Comment: OK ########## paimon-core/src/main/java/org/apache/paimon/utils/FormatReaderMapping.java: ########## @@ -196,7 +216,19 @@ public FormatReaderMapping build( .discover(formatIdentifier) .createReaderFactory(readRowType, readFilters), dataSchema, - readFilters); + readFilters, + meta); + } + + private Map<String, Integer> findMeta(List<DataField> readTableFields) { Review Comment: OK -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org