This is an automated email from the ASF dual-hosted git repository.
wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 289254f50d [Docs] update hive doc (#6437)
289254f50d is described below
commit 289254f50d18c6ddbea03e7794b74cbe923d49fa
Author: Jarvis <[email protected]>
AuthorDate: Wed Mar 6 12:04:59 2024 +0800
[Docs] update hive doc (#6437)
- move `abort_drop_partition_metadata` to sink, source doesn't support this
parameter, it's only available in sink
---
docs/en/connector-v2/sink/Hive.md | 27 ++++++++++++++++-----------
docs/en/connector-v2/source/Hive.md | 31 +++++++++++++------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/docs/en/connector-v2/sink/Hive.md
b/docs/en/connector-v2/sink/Hive.md
index 2ede5d0789..eec92b46b1 100644
--- a/docs/en/connector-v2/sink/Hive.md
+++ b/docs/en/connector-v2/sink/Hive.md
@@ -30,17 +30,18 @@ By default, we use 2PC commit to ensure `exactly-once`
## Options
-| name | type | required | default value |
-|----------------------|--------|----------|----------------|
-| table_name | string | yes | - |
-| metastore_uri | string | yes | - |
-| compress_codec | string | no | none |
-| hdfs_site_path | string | no | - |
-| hive_site_path | string | no | - |
-| krb5_path | string | no | /etc/krb5.conf |
-| kerberos_principal | string | no | - |
-| kerberos_keytab_path | string | no | - |
-| common-options | | no | - |
+| name | type | required | default value |
+|-------------------------------|---------|----------|----------------|
+| table_name | string | yes | - |
+| metastore_uri | string | yes | - |
+| compress_codec | string | no | none |
+| hdfs_site_path | string | no | - |
+| hive_site_path | string | no | - |
+| krb5_path | string | no | /etc/krb5.conf |
+| kerberos_principal | string | no | - |
+| kerberos_keytab_path | string | no | - |
+| abort_drop_partition_metadata | boolean | no | true |
+| common-options | | no | - |
### table_name [string]
@@ -70,6 +71,10 @@ The principal of kerberos
The keytab path of kerberos
+### abort_drop_partition_metadata [list]
+
+Flag to decide whether to drop partition metadata from Hive Metastore during
an abort operation. Note: this only affects the metadata in the metastore, the
data in the partition will always be deleted(data generated during the
synchronization process).
+
### common options
Sink plugin common parameters, please refer to [Sink Common
Options](common-options.md) for details
diff --git a/docs/en/connector-v2/source/Hive.md
b/docs/en/connector-v2/source/Hive.md
index 14306ef953..5d51a19f89 100644
--- a/docs/en/connector-v2/source/Hive.md
+++ b/docs/en/connector-v2/source/Hive.md
@@ -33,20 +33,19 @@ Read all the data in a split in a pollNext call. What
splits are read will be sa
## Options
-| name | type | required | default value |
-|-------------------------------|---------|----------|----------------|
-| table_name | string | yes | - |
-| metastore_uri | string | yes | - |
-| krb5_path | string | no | /etc/krb5.conf |
-| kerberos_principal | string | no | - |
-| kerberos_keytab_path | string | no | - |
-| hdfs_site_path | string | no | - |
-| hive_site_path | string | no | - |
-| read_partitions | list | no | - |
-| read_columns | list | no | - |
-| abort_drop_partition_metadata | boolean | no | true |
-| compress_codec | string | no | none |
-| common-options | | no | - |
+| name | type | required | default value |
+|----------------------|--------|----------|----------------|
+| table_name | string | yes | - |
+| metastore_uri | string | yes | - |
+| krb5_path | string | no | /etc/krb5.conf |
+| kerberos_principal | string | no | - |
+| kerberos_keytab_path | string | no | - |
+| hdfs_site_path | string | no | - |
+| hive_site_path | string | no | - |
+| read_partitions | list | no | - |
+| read_columns | list | no | - |
+| compress_codec | string | no | none |
+| common-options | | no | - |
### table_name [string]
@@ -87,10 +86,6 @@ The keytab file path of kerberos authentication
The read column list of the data source, user can use it to implement field
projection.
-### abort_drop_partition_metadata [list]
-
-Flag to decide whether to drop partition metadata from Hive Metastore during
an abort operation. Note: this only affects the metadata in the metastore, the
data in the partition will always be deleted(data generated during the
synchronization process).
-
### compress_codec [string]
The compress codec of files and the details that supported as the following
shown: