rdblue commented on a change in pull request #1205:
URL: https://github.com/apache/iceberg/pull/1205#discussion_r454721349



##########
File path: site/docs/spark.md
##########
@@ -286,6 +286,11 @@ val df = spark.read
     .table("prod.db.table")
 ```
 
+!!! Warning
+    When reading with DataFrames in Spark 3, use `table` to load a table by 
name from a catalog.
+    Using `format("iceberg")` loads an isolated table reference that is not 
refreshed when other queries update the table.

Review comment:
       @dongjoon-hyun, this is the warning I've added to make people aware of 
the issues with the `DataFrameReader`. Please take a look if you have time. 
There is also one below for the v1 `DataFrameWriter` API.




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

Reply via email to