rizaon commented on code in PR #4518:
URL: https://github.com/apache/iceberg/pull/4518#discussion_r850878212


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopInputFile.java:
##########
@@ -241,4 +272,118 @@ public void 
setNativeCryptoParameters(NativeFileCryptoParameters nativeCryptoPar
   public String toString() {
     return path.toString();
   }
+
+  protected void setContentCache(CachingHadoopFileIO.ContentCache cache) {
+    this.contentCache = cache;

Review Comment:
   We can probably move the cache existence check here and additionally set 
`length` if appropriate.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to