XuQianJin-Stars commented on a change in pull request #5060:
URL: https://github.com/apache/hudi/pull/5060#discussion_r836029823
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/ObjectSizeCalculator.java
##########
@@ -54,6 +54,8 @@
* @author Attila Szegedi
*/
public class ObjectSizeCalculator {
+ private static final ThreadLocal<ObjectSizeCalculator> objectSizeCalculator
= ThreadLocal.withInitial(() -> new ObjectSizeCalculator(CurrentLayout.SPEC));
Review comment:
The constant name does not conform to the specification.
--
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]