You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2020/07/10 00:54:32 UTC
[iceberg] 01/01: Update spark.md
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch spark-docs-typos
in repository https://gitbox.apache.org/repos/asf/iceberg.git
commit 1e280b6610624b17e50151bace8481bdd67a9835
Author: Ryan Blue <bl...@apache.org>
AuthorDate: Thu Jul 9 17:54:19 2020 -0700
Update spark.md
---
site/docs/spark.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/site/docs/spark.md b/site/docs/spark.md
index b933823..5353c1d 100644
--- a/site/docs/spark.md
+++ b/site/docs/spark.md
@@ -51,7 +51,7 @@ Iceberg also supports a directory-based catalog in HDFS that can be configured u
```plain
spark.sql.catalog.hadoop_prod = org.apache.iceberg.spark.SparkCatalog
-spark.sql.catalog.hadoop_prod.type = hive
+spark.sql.catalog.hadoop_prod.type = hadoop
spark.sql.catalog.hadoop_prod.warehouse = hdfs://nn:8020/warehouse/path
```
@@ -66,7 +66,7 @@ Catalog names are used in SQL queries to identify a table. In the examples above
SELECT * FROM hive_prod.db.table -- load db.table from catalog hive_prod
```
-Spark 3 keeps track of a current catalog and namespace, which can be omitted from table names.
+Spark 3 keeps track of the current catalog and namespace, which can be omitted from table names.
```sql
USE hive_prod.db;
@@ -385,7 +385,7 @@ WHERE cast(ts as date) = '2020-07-01'
GROUP BY uuid
```
-In dynamic mode, this will replace any partition with rows in the `SELECT` result. Because the date of all rows is restricted 1 July, only hours of that day will be replaced.
+In dynamic mode, this will replace any partition with rows in the `SELECT` result. Because the date of all rows is restricted to 1 July, only hours of that day will be replaced.
#### Static overwrite