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/15 13:51:30 UTC

[GitHub] [arrow] jorisvandenbossche commented on a diff in pull request #12898: ARROW-16204: [C++][Dataset] Default error existing_data_behaviour for writing dataset ignores a single file

jorisvandenbossche commented on code in PR #12898:
URL: https://github.com/apache/arrow/pull/12898#discussion_r851281529


##########
docs/source/python/dataset.rst:
##########
@@ -570,7 +570,7 @@ dataset to be partitioned.  For example:
     part = ds.partitioning(
         pa.schema([("c", pa.int16())]), flavor="hive"
     )
-    ds.write_dataset(table, "sample_dataset", format="parquet", partitioning=part)
+    ds.write_dataset(table, "partitioned_dataset", format="parquet", partitioning=part)

Review Comment:
   We already wrote to "sample_dataset" a bit above, so this now started to (correctly) raise an error if using the same name



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