chenjunjiedada commented on code in PR #6407:
URL: https://github.com/apache/iceberg/pull/6407#discussion_r1047057758
##########
flink/v1.16/flink/src/main/java/org/apache/iceberg/flink/source/IcebergSource.java:
##########
@@ -357,13 +358,10 @@ public IcebergSource<T> build() {
if (readerFunction == null) {
RowDataReaderFunction rowDataReaderFunction =
new RowDataReaderFunction(
+ (SerializableTable) SerializableTable.copyOf(table),
flinkConfig,
- table.schema(),
context.project(),
- context.nameMapping(),
Review Comment:
IIRC, This one (https://github.com/apache/iceberg/pull/2275) does the job.
Now we can use schema Id in the snapshot to track which schema it writes.
Anyway, let me revert this back since it should be in another PR even if we
want to remove this.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]