AlenkaF opened a new pull request, #46851:
URL: https://github.com/apache/arrow/pull/46851

   ### Rationale for this change
   It would be convenient to read parquet files from fsspec filesystems using 
schemes available in the [fsspec 
registry](https://filesystem-spec.readthedocs.io/en/latest/_modules/fsspec/registry.html)
 using URIs, without explicitly specifying the filesystem object.
   
   ### What changes are included in this PR?
   This changes are based on https://github.com/apache/arrow/pull/45089. In 
this PR `_resolve_filesystem_and_path()` can recognize the scheme used in the 
URI together with the fsspec prefix. For example:
   
   ```python
   >>> table = pa.table({"a": range(10)})
   >>> pq.write_table(table, "fsspec+memory://example.parquet")
   >>> pq.read_table("fsspec+memory://example.parquet")
   pyarrow.Table
   a: int64
   ----
   a: [[0,1,2,3,4,5,6,7,8,9]]
   ```
   
   ### Are these changes tested?
   Yes.
   
   ### Are there any user-facing changes?
   No.
   


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