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:
[email protected]


Reply via email to