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 2022/04/21 09:13:30 UTC

[GitHub] [arrow] AlenkaF commented on a diff in pull request #12838: ARROW-15757: [Python] Missing bindings for existing_data_behavior makes it impossible to maintain old behavior

AlenkaF commented on code in PR #12838:
URL: https://github.com/apache/arrow/pull/12838#discussion_r854964604


##########
python/pyarrow/parquet/__init__.py:
##########
@@ -2928,8 +2928,10 @@ def write_to_dataset(table, root_path, partition_cols=None,
                      partition_filename_cb=None, filesystem=None,
                      use_legacy_dataset=None, schema=None,
                      partitioning=None, basename_template=None,
-                     use_threads=None, file_visitor=None, **kwargs):
-    """Wrapper around parquet.write_dataset for writing a Table to
+                     use_threads=None, file_visitor=None,
+                     existing_data_behavior='overwrite_or_ignore',

Review Comment:
   Set the default to `overwrite_or_ignore` because of the specification of `basename_template`.



-- 
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: github-unsubscribe@arrow.apache.org

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