steveloughran opened a new issue, #15353:
URL: https://github.com/apache/iceberg/issues/15353

   ### Feature Request / Improvement
   
   
   The class HadoopFileIO uses the hadoop 2 APIs for opening and creating 
files. By moving to the newer createFile/openFile APIs and passing in 
information, it should be possible to
   
   * Eliminate head requests when opening files (s3a, abfs)
   * Switch the cloud connector to an optimal read policy for the known file 
type (random, sequential,..)  (s3a, gcs)
   * Have the s3a connector skip checks that creating a file won't overwrite a 
directory. This is consistent with S3OutputFile and relies on iceberg creating 
unique filenames, or at least not creating files above other objects.
   
   There are some other minor tunings.
   
   Constraints
   1. All of this shall use APIs in Hadoop 3.3.5 so there's no need to use 
reflection for spark 3.4+ use.
   2. There shall not be any adverse consequences when running against hdfs or 
local fs.
   
   
   
   ### Query engine
   
   None
   
   ### Willingness to contribute
   
   - [ ] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


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