You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/05/29 20:52:05 UTC

[GitHub] [iceberg] rdblue commented on a diff in pull request #4885: Docs: Fix a typo. Add using for writeTo when creating a table.

rdblue commented on code in PR #4885:
URL: https://github.com/apache/iceberg/pull/4885#discussion_r884322890


##########
docs/spark/spark-writes.md:
##########
@@ -287,13 +287,14 @@ To run a CTAS or RTAS, use `create`, `replace`, or `createOrReplace` operations:
 
 ```scala
 val data: DataFrame = ...
-data.writeTo("prod.db.table").create()
+data.writeTo("prod.db.table").using("iceberg").create()

Review Comment:
   This depends on the catalog. If you're using an Iceberg catalog, it shouldn't be necessary to do this.



-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org