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


##########
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:
   I reverted the change and added a clarification for when you use 
`SparkSessionCatalog`. Please let me know if you think it is better now.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to