hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] lamber-ken commented on a change in pull request #1317: [HUDI-605] Avoid calculating the size of schema redundantly
Date Mon, 10 Feb 2020 07:27:13 GMT
lamber-ken commented on a change in pull request #1317: [HUDI-605] Avoid calculating the size
of schema redundantly
URL: https://github.com/apache/incubator-hudi/pull/1317#discussion_r376899375
 
 

 ##########
 File path: hudi-common/src/main/java/org/apache/hudi/common/util/collection/DiskBasedMap.java
 ##########
 @@ -223,8 +223,8 @@ private R get(ValueMetadata entry) {
   private synchronized R put(T key, R value, boolean flush) {
     try {
       byte[] val = SerializationUtils.serialize(value);
-      Integer valueSize = val.length;
-      Long timestamp = System.currentTimeMillis();
+      int valueSize = val.length;
 
 Review comment:
   Done.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message