voonhous commented on code in PR #17861:
URL: https://github.com/apache/hudi/pull/17861#discussion_r2697023659


##########
hudi-common/src/main/java/org/apache/hudi/metadata/FileSystemBackedTableMetadata.java:
##########
@@ -63,13 +63,14 @@ public class FileSystemBackedTableMetadata extends 
AbstractHoodieTableMetadata {
 
   private static final int DEFAULT_LISTING_PARALLELISM = 1500;
 
+  private final HoodieTableConfig tableConfig;

Review Comment:
   I think this class gets serialized onto the executors. So, persisting 
`tableConfig` where we will only be using the table name is overkill. 
   
   We should either make this `transient`, or just save the `tableName` as a 
string (and also make this transient if we do not need the name on the executor 
side) so that to ensure that serialization cost is the same. 



-- 
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]

Reply via email to