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


##########
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:
   For the `SparkSessionCatalog`, you do need this. It might be better just to 
recommend it here, although it isn't needed unless we are trying to determine 
whether to pass the create through to the underlying catalog.



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