voonhous commented on code in PR #17524:
URL: https://github.com/apache/hudi/pull/17524#discussion_r2600980051
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/TableWriteStats.java:
##########
@@ -20,12 +20,15 @@
import org.apache.hudi.common.model.HoodieWriteStat;
+import lombok.Getter;
+
import java.util.Collections;
import java.util.List;
/**
* Class to hold list of {@link HoodieWriteStat} for data table and metadata
table.
*/
+@Getter
Review Comment:
Sure.
This will change the code to this:
```
@Value
public class TableWriteStats {
List<HoodieWriteStat> dataTableWriteStats;
List<HoodieWriteStat> metadataTableWriteStats;
```
As `@Value already marks non-static fields private final. `
--
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]