You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/09/03 07:19:23 UTC

[GitHub] [arrow] jorisvandenbossche commented on a change in pull request #8064: ARROW-9864: [Python] Support pathlib.path in pq.write_to_dataset

jorisvandenbossche commented on a change in pull request #8064:
URL: https://github.com/apache/arrow/pull/8064#discussion_r482759794



##########
File path: python/pyarrow/parquet.py
##########
@@ -1740,7 +1740,7 @@ def write_to_dataset(table, root_path, partition_cols=None,
     Parameters
     ----------
     table : pyarrow.Table
-    root_path : str,
+    root_path : str, pathlib.Path

Review comment:
       OK, and what about objects with `__fspath__` (the protocol doesn't seem to be explicitly only about local paths, but in practice might also be?)




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org