You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`table.path` The hdfs root path of hudi table,such as 'hdfs://nameserivce/data/hudi/hudi_table/'.
20
+
## Description
38
21
39
-
### table.type [string]
22
+
Used to read data from Hudi. Currently, only supports hudi cow table and Snapshot Query with Batch Mode.
40
23
41
-
`table.type` The type of hudi table. Now we only support 'cow', 'mor' is not support yet.
24
+
In order to use this connector, You must ensure your spark/flink cluster already integrated hive. The tested hive version is 2.3.9.
42
25
43
-
### conf.files [string]
26
+
##Supported DataSource Info
44
27
45
-
`conf.files` The environment conf file path list(local path), which used to init hdfs client to read hudi table file. The example is '/home/test/hdfs-site.xml;/home/test/core-site.xml;/home/test/yarn-site.xml'.
28
+
:::tip
46
29
47
-
### use.kerberos [boolean]
30
+
* Currently, only supports Hudi cow table and Snapshot Query with Batch Mode
48
31
49
-
`use.kerberos` Whether to enable Kerberos, default is false.
32
+
:::
50
33
51
-
### kerberos.principal [string]
34
+
##Data Type Mapping
52
35
53
-
`kerberos.principal` When use kerberos, we should set kerberos princal such as 'test_user@xxx'.
36
+
| Hudi Data type | Seatunnel Data type |
37
+
|----------------|---------------------|
38
+
| ALL TYPE | STRING |
54
39
55
-
### kerberos.principal.file [string]
40
+
##Source Options
56
41
57
-
`kerberos.principal.file` When use kerberos, we should set kerberos princal file such as '/home/test/test_user.keytab'.
42
+
| Name | Type | Required | Default | Description |
| table.path | String | Yes | - | The hdfs root path of hudi table,such as 'hdfs://nameserivce/data/hudi/hudi_table/'. |
45
+
| table.type | String | Yes | - | The type of hudi table. Now we only support 'cow', 'mor' is not support yet. |
46
+
| conf.files | String | Yes | - | The environment conf file path list(local path), which used to init hdfs client to read hudi table file. The example is '/home/test/hdfs-site.xml;/home/test/core-site.xml;/home/test/yarn-site.xml'. |
47
+
| use.kerberos | bool | No | false | Whether to enable Kerberos, default is false. |
48
+
| kerberos.principal | String | yes when use.kerberos = true | - | When use kerberos, we should set kerberos principal such as 'test_user@xxx'. |
49
+
| kerberos.principal.file | string | yes when use.kerberos = true | - | When use kerberos, we should set kerberos principal file such as '/home/test/test_user.keytab'. |
50
+
| common-options | config | No | - | Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details. |
58
51
59
-
### common options
52
+
##Task Example
60
53
61
-
Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details.
54
+
### Simple:
62
55
63
-
## Examples
56
+
> This example reads from a Hudi COW table and configures Kerberos for the environment, printing to the console.
0 commit comments