ConeyLiu opened a new pull request, #7985: URL: https://github.com/apache/iceberg/pull/7985
There are many unnecessary metadata columns reading when merging using the Iceberg table. The problem should be caused by Spark 3.3 [AddMetadataColumns](https://github.com/apache/spark/blob/e9b525e205402ac458db682802771544ced86758/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L915) rule which has been fixed in Spark 3.4. In this PR, we add a rule to remove the unnecessary metadata column reading. Before this PR: <img width="969" alt="image" src="https://github.com/apache/iceberg/assets/12733256/63055ba0-7ad0-4aa0-8d3f-b395e611f70b"> After this PR: <img width="913" alt="image" src="https://github.com/apache/iceberg/assets/12733256/2f03b1ec-4dcb-4e6c-a9d2-6dc2e95ca441"> -- 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]
