roeap commented on issue #2304:
URL: https://github.com/apache/arrow-rs/issues/2304#issuecomment-1205630324

   Had a look at the `ListingTableUri` implementation, and it does a very large 
chunk of what i thought such an abstraction could do.
   
   The one thing missing would be to extract the information we can gather from 
the results that are specific to azure / aws etc and somehow present that to 
the consumer. maybe add conversions into something like.
   
   ```rs
   pub enum StorageLocation {
       S3(S3Info { ... }),
       Azure(AzureInfo { ... })
       ...
   }
   ```
   
   In that case, would we just want to copy some logic or move the whole 
implementation over here? Some of the methods seem particularly useful when 
working with the actual `ListingTable`, but also do not hurt here. We would 
also need to move the `ObjectStoreUrl` over, but that seems related anyhow.


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

Reply via email to