You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by wu...@apache.org on 2022/03/24 01:58:27 UTC
[incubator-seatunnel] branch dev updated: [SeaTunnel#1546] complete the hive sink document (#1547)
This is an automated email from the ASF dual-hosted git repository.
wuchunfu pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 6f1e7c8 [SeaTunnel#1546] complete the hive sink document (#1547)
6f1e7c8 is described below
commit 6f1e7c8b362c5ba1e56be730fed5c1d90ebb9558
Author: CenterCode <yx...@users.noreply.github.com>
AuthorDate: Thu Mar 24 09:58:22 2022 +0800
[SeaTunnel#1546] complete the hive sink document (#1547)
---
docs/en/spark/configuration/sink-plugins/Hive.md | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/docs/en/spark/configuration/sink-plugins/Hive.md b/docs/en/spark/configuration/sink-plugins/Hive.md
index fb9e66d..4ea6b82 100644
--- a/docs/en/spark/configuration/sink-plugins/Hive.md
+++ b/docs/en/spark/configuration/sink-plugins/Hive.md
@@ -18,9 +18,7 @@ Write Rows to [Apache Hive](https://hive.apache.org).
| [partition_by](#partition_by-arraystring) | Array[string] | no | - |
##### sql [string]
-Hive sql:insert into/overwrite $table select * from xxx_table
-
-If this option exists, other options will be ignored
+Hive sql:the whole insert data sql, such as `insert into/overwrite $table select * from xxx_table `, If this option exists, other options will be ignored.
##### Source_table_name [string]
@@ -28,19 +26,19 @@ Datasource of this plugin.
##### result_table_name [string]
-The output hive table name.
+The output hive table name if the `sql` option doesn't specified.
##### save_mode [string]
-Same with option `spark.mode` in Spark.
+Same with option `spark.mode` in Spark, combined with `result_table_name` if the `sql` option doesn't specified.
##### sink_columns [string]
-Select the required fields in source_table_name and store them in result_table_name, separated by commas.
+Specify the selected fields which write to result_table_name, separated by commas, combined with `result_table_name` if the `sql` option doesn't specified.
##### partition_by [Array[string]]
-Hive partition fields
+Hive partition fields, combined with `result_table_name` if the `sql` option doesn't specified.
### Example