jorisvandenbossche commented on a change in pull request #11479:
URL: https://github.com/apache/arrow/pull/11479#discussion_r737316081
##########
File path: docs/source/python/dataset.rst
##########
@@ -66,7 +66,7 @@ of a directory with two parquet files:
import pyarrow.parquet as pq
import numpy as np
- base = pathlib.Path(tempfile.gettempdir())
+ base = pathlib.Path(tempfile.mkdtemp(prefix="pyarrow-"))
Review comment:
One problem with setting it globally is that we also have some examples
that read data that is included in the repo using a relative path (or we have
at least one case reading `example.gz` in memory.rst), and that would break.
--
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]