dongjoon-hyun commented on a change in pull request #1205:
URL: https://github.com/apache/iceberg/pull/1205#discussion_r454735418
##########
File path: site/docs/spark.md
##########
@@ -432,6 +444,13 @@ Spark 3 introduced the new `DataFrameWriterV2` API for
writing to tables using d
- `df.writeTo(t).append()` is equivalent to `INSERT INTO`
- `df.writeTo(t).overwritePartitions()` is equivalent to dynamic `INSERT
OVERWRITE`
+The v1 DataFrame `write` API is still supported, but is not recommended.
+
+!!! Warning
+ When writing with the v1 DataFrame API in Spark 3, use `saveAsTable` or
`insertInto` to load tables with a catalog.
+ Using `format("iceberg")` loads an isolated table reference that will not
automatically refresh tables used by queries.
Review comment:
Thanks, @rdblue !
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]