turbo1912 opened a new pull request, #3540:
URL: https://github.com/apache/arrow-datafusion/pull/3540

   # Which issue does this PR close?
   
   Closes #3424.
   
   # Rationale for this change
   This change provides an easy way for datafusion cli users to register object 
stores.
   
   (inspiration from https://github.com/datafusion-contrib/datafusion-cookbook)
   
   # What changes are included in this PR?
   Added environment variable support for registering s3 and gcp object stores. 
Currently users can only specify bucket name from the CLI and the rest of the 
configuration is setup from environment variables. 
   
   # Are there any user-facing changes?
   Datafusion cli users can now register an object store when they are starting 
the datafusion cli
   ```
   datafusion cli --object-store s3 --bucket-name name
   ```
   and then create external tables from object stores in the interactive shell:
   ```
   create external table unicorns stored as parquet location 
's3://my_bucket/lineitem/'
   ```
   


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