This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 774d0e8bc9 Docs: `DataFrameReader` does not take parameters (#9021)
774d0e8bc9 is described below
commit 774d0e8bc9528b057201d8e2cea31405bd49afbd
Author: zhaoym <[email protected]>
AuthorDate: Sat Nov 11 02:51:28 2023 +0800
Docs: `DataFrameReader` does not take parameters (#9021)
---
docs/spark-queries.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/spark-queries.md b/docs/spark-queries.md
index 6e6637e229..54b1ee6bd1 100644
--- a/docs/spark-queries.md
+++ b/docs/spark-queries.md
@@ -176,7 +176,7 @@ To read appended data incrementally, use:
```scala
// get the data added after start-snapshot-id (10963874102873L) until
end-snapshot-id (63874143573109L)
-spark.read()
+spark.read
.format("iceberg")
.option("start-snapshot-id", "10963874102873")
.option("end-snapshot-id", "63874143573109")