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/01 12:36:43 UTC

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

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



##########
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, but we should probably disallow passing a `Path` if the filesystem is not a local filesystem.




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