Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/source/python/dataset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,24 @@ The currently available classes are :class:`~pyarrow.fs.S3FileSystem` and
details.


Reading from Minio
------------------

In addition to cloud storage, pyarrow also supports reading from a
`MinIO https://github.com/minio/minio`_ object storage instance emulating S3
APIs. Paired with `toxiproxy https://github.com/shopify/toxiproxy`_, this is
useful for testing or benchmarking.

.. code-block:: python

from pyarrow import fs

# By default, MinIO will listen for unencrypted HTTP traffic.
minio = fs.S3FileSystem(scheme="http", endpoint="localhost:9000")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment that this assumes MinIO is running unencrypted on local port 9000?

dataset = ds.dataset("ursa-labs-taxi-data/", filesystem=minio,
partitioning=["year", "month"])


Manual specification of the Dataset
-----------------------------------

Expand Down