manuzhang commented on code in PR #11982: URL: https://github.com/apache/iceberg/pull/11982#discussion_r1926329595
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteTablePathSparkAction.java: ########## @@ -728,4 +710,13 @@ private String getMetadataLocation(Table tbl) { !metadataDir.isEmpty(), "Failed to get the metadata file root directory"); return metadataDir; } + + @VisibleForTesting + Broadcast<Table> tableBroadcast() { + if (tblBroadcast == null) { Review Comment: The name is to avoid hiding parameter `tableBroadcast` in functions. The test is to ensure the `tableBroadcast` can be deserialized. It looks we've never tested it, but everyone knows that the broadcasted table should be serializable. -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org