Skip to content

Commit 289254f

Browse files
authored
[Docs] update hive doc (#6437)
- move `abort_drop_partition_metadata` to sink, source doesn't support this parameter, it's only available in sink
1 parent 7b48a16 commit 289254f

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

Diff for: docs/en/connector-v2/sink/Hive.md

+16-11
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@ By default, we use 2PC commit to ensure `exactly-once`
3030

3131
## Options
3232

33-
| name | type | required | default value |
34-
|----------------------|--------|----------|----------------|
35-
| table_name | string | yes | - |
36-
| metastore_uri | string | yes | - |
37-
| compress_codec | string | no | none |
38-
| hdfs_site_path | string | no | - |
39-
| hive_site_path | string | no | - |
40-
| krb5_path | string | no | /etc/krb5.conf |
41-
| kerberos_principal | string | no | - |
42-
| kerberos_keytab_path | string | no | - |
43-
| common-options | | no | - |
33+
| name | type | required | default value |
34+
|-------------------------------|---------|----------|----------------|
35+
| table_name | string | yes | - |
36+
| metastore_uri | string | yes | - |
37+
| compress_codec | string | no | none |
38+
| hdfs_site_path | string | no | - |
39+
| hive_site_path | string | no | - |
40+
| krb5_path | string | no | /etc/krb5.conf |
41+
| kerberos_principal | string | no | - |
42+
| kerberos_keytab_path | string | no | - |
43+
| abort_drop_partition_metadata | boolean | no | true |
44+
| common-options | | no | - |
4445

4546
### table_name [string]
4647

@@ -70,6 +71,10 @@ The principal of kerberos
7071

7172
The keytab path of kerberos
7273

74+
### abort_drop_partition_metadata [list]
75+
76+
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).
77+
7378
### common options
7479

7580
Sink plugin common parameters, please refer to [Sink Common Options](common-options.md) for details

Diff for: docs/en/connector-v2/source/Hive.md

+13-18
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,19 @@ Read all the data in a split in a pollNext call. What splits are read will be sa
3333

3434
## Options
3535

36-
| name | type | required | default value |
37-
|-------------------------------|---------|----------|----------------|
38-
| table_name | string | yes | - |
39-
| metastore_uri | string | yes | - |
40-
| krb5_path | string | no | /etc/krb5.conf |
41-
| kerberos_principal | string | no | - |
42-
| kerberos_keytab_path | string | no | - |
43-
| hdfs_site_path | string | no | - |
44-
| hive_site_path | string | no | - |
45-
| read_partitions | list | no | - |
46-
| read_columns | list | no | - |
47-
| abort_drop_partition_metadata | boolean | no | true |
48-
| compress_codec | string | no | none |
49-
| common-options | | no | - |
36+
| name | type | required | default value |
37+
|----------------------|--------|----------|----------------|
38+
| table_name | string | yes | - |
39+
| metastore_uri | string | yes | - |
40+
| krb5_path | string | no | /etc/krb5.conf |
41+
| kerberos_principal | string | no | - |
42+
| kerberos_keytab_path | string | no | - |
43+
| hdfs_site_path | string | no | - |
44+
| hive_site_path | string | no | - |
45+
| read_partitions | list | no | - |
46+
| read_columns | list | no | - |
47+
| compress_codec | string | no | none |
48+
| common-options | | no | - |
5049

5150
### table_name [string]
5251

@@ -87,10 +86,6 @@ The keytab file path of kerberos authentication
8786

8887
The read column list of the data source, user can use it to implement field projection.
8988

90-
### abort_drop_partition_metadata [list]
91-
92-
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).
93-
9489
### compress_codec [string]
9590

9691
The compress codec of files and the details that supported as the following shown:

0 commit comments

Comments
 (0)