kainoa21 commented on issue #3044:
URL: https://github.com/apache/iceberg/issues/3044#issuecomment-908042284


   I believe that one potential root issue is that `FileIO` has leaked out from 
`TableOperations` into catalog implementations like `GlueCatalog`.  
Theoretically, provided a catalog extending `BaseMetastoreCatalog` can 
implement `newTableOps` then all the `FileIO` configuration should happen 
inside TableOperations.  
   
   It makes more sense that `GlueTableOperations` might have multiple 
implementations (one that explicitly handles `HadoopFileIO`).  Even then, in an 
ideal case the only class that would explicitly need to handle hadoop conf 
would be `HadoopFileIO`.  This would require a more complex `Catalog` 
initialization implementation (probably some sort of builder pattern) where all 
of the requisite pieces could be instantiated and configured independently.
   
   


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