yjshen opened a new pull request #950:
URL: https://github.com/apache/arrow-datafusion/pull/950


   # Which issue does this PR close?
   
   Closes #616 .
   
    # Rationale for this change
   
   Currently, we can only read files from LocalFS since we use std::fs in 
ParquetExec. It would be nice to add support to read files that reside on 
storage sources such as HDFS, Amazon S3, etc.
   
   This PR substitute #811 by only adding in the ObjectStore interfaces, leave 
hooking these APIs up into the rest of the system / rewrite the existing data 
sources (like Parquet, etc) as separate follow-ups.
   
   <!--
    Why are you proposing this change? If this is already explained clearly in 
the issue then this section is not needed.
    Explaining clearly why changes are proposed helps reviewers understand your 
changes and offer better suggestions for fixes.  
   -->
   
   # What changes are included in this PR?
   <!--
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   Introduce `ObjectStore` API as an abstraction of the underlying storage 
systems, such as local filesystem, HDFS, S3, etc. And make the `ObjectStore` 
implementation pluggable through the `ObjectStoreRegistery` in Datafusion's 
`ExecutionContext`.
   
   # Are there any user-facing changes?
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   Users can provide implementations for the `ObjectStore` trait, register it 
into `ExecutionContext`'s registry, and run queries against data that resides 
in remote storage systems as well as local fs (the *only default 
implementation* of `ObjectStore`). 
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


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