mirkhosro commented on code in PR #13591:
URL: https://github.com/apache/arrow/pull/13591#discussion_r922559056


##########
python/pyarrow/parquet/__init__.py:
##########
@@ -3113,9 +3117,14 @@ def file_visitor(written_file):
         dataset.  The first time each partition directory is encountered
         the entire directory will be deleted.  This allows you to overwrite
         old partitions completely.
+        This option is only supported for use_legacy_dataset=False.
     **kwargs : dict,
-        Additional kwargs for write_table function. See docstring for
-        `write_table` or `ParquetWriter` for more information.
+        When use_legacy_dataset=False, used as additional kwargs for 
+        `pyarrow.dataset.write_dataset` function (See docstring for 
+        `write_dataset` or `ParquetFileFormat` for more information).

Review Comment:
   how about I change it to 
   ```
   When use_legacy_dataset=False, passed as `file_options` to 
           `pyarrow.dataset.write_dataset` function (See docstring for 
           `write_dataset` or `ParquetFileFormat` for more information).
   ```
   because it's passed as file_options to write_dataset first
   



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

Reply via email to