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



##########
File path: python/pyarrow/parquet.py
##########
@@ -1891,6 +1892,14 @@ def write_to_dataset(table, root_path, 
partition_cols=None,
         file metadata instances of dataset pieces. The file paths in the
         ColumnChunkMetaData will be set relative to `root_path`.
     """
+    if use_legacy_dataset is None:

Review comment:
       They will get an error about an unrecognized file system (the same error 
as you get now passing such a filesystem, as in ARROW-12299).
   
   I could add a check for it and raise a bit more informative error message 
(but it should be rather rare to do that I think)




-- 
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:
us...@infra.apache.org


Reply via email to