This is an automated email from the ASF dual-hosted git repository.
biyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 5c2ca595d [doc] Updated Spark quickstart documentation for using
--packages (#2897)
5c2ca595d is described below
commit 5c2ca595d359601c61fdd424681a0a408f270e6c
Author: cxzl25 <[email protected]>
AuthorDate: Mon Mar 18 10:48:57 2024 +0800
[doc] Updated Spark quickstart documentation for using --packages (#2897)
---
docs/content/engines/spark.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/content/engines/spark.md b/docs/content/engines/spark.md
index ce0c45b39..4a7fde0b6 100644
--- a/docs/content/engines/spark.md
+++ b/docs/content/engines/spark.md
@@ -86,6 +86,12 @@ Append path to paimon jar file to the `--jars` argument when
starting `spark-sql
spark-sql ... --jars /path/to/paimon-spark-3.3-{{< version >}}.jar
```
+OR use the `--packages` option.
+
+```bash
+spark-sql ... --packages org.apache.paimon:paimon-spark-3.3:{{< version >}}
+```
+
Alternatively, you can copy `paimon-spark-3.3-{{< version >}}.jar` under
`spark/jars` in your Spark installation directory.
**Step 2: Specify Paimon Catalog**