wang-x-xia opened a new pull request #2847:
URL: https://github.com/apache/iceberg/pull/2847


   It's the first part of https://github.com/apache/iceberg/pull/2807 .
   
   Dell EMC ECS is an Object Storage which delivers rich S3-compatibility.
   
   This PR is to add new interfaces that provide several features from the Dell 
EMC ECS.
   
   The main interface is `EcsClient`, it provides methods like:
   
   1. To get object info.
   2. To read and write object with Java InputStream/OutputStream that for data 
files.
   3. To read, replace, write and copy object that for metadata files.
   4. To list objects that for fetch concepts such as namespaces and databases.
   
   And there are 2 additional interfaces which provide helper method of client:
   
   1. `PropertiesSerDes` is used to convert `Map<String, String>` to file 
content. I add a default version value to avoid compatible problems in future.
   2. `ObjectKeys` is used to convert name of Iceberg resources to object key.
   
   The `EcsClientImpl` provide the impl that use Amazon AWS S3 Java SDK (V1) to 
connect with the ECS.
   The Amazon AWS S3 Java SDK (V2), used in the `:iceberg-aws` module, doesn't 
provide extension.
   
   The `MemoryEcsClient` provide the impl that mock all operations of 
`EcsClient` in memory. I will use in future tests.
   
   


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