dujl
72e0042efb
[feature-wip](hudi) Step1: Support create hudi external table (#9559)
support create hudi table
support show create table for hudi table
### Design
1. create hudi table without schema(recommanded)
```sql
CREATE [EXTERNAL] TABLE table_name
ENGINE = HUDI
[COMMENT "comment"]
PROPERTIES (
"hudi.database" = "hudi_db_in_hive_metastore",
"hudi.table" = "hudi_table_in_hive_metastore",
"hudi.hive.metastore.uris" = "thrift://127.0.0.1:9083"
);
```
2. create hudi table with schema
```sql
CREATE [EXTERNAL] TABLE table_name
[(column_definition1[, column_definition2, ...])]
ENGINE = HUDI
[COMMENT "comment"]
PROPERTIES (
"hudi.database" = "hudi_db_in_hive_metastore",
"hudi.table" = "hudi_table_in_hive_metastore",
"hudi.hive.metastore.uris" = "thrift://127.0.0.1:9083"
);
```
When create hudi table with schema, the columns must exist in corresponding table in hive metastore.
2022-05-17 11:30:23 +08:00
..
2022-04-28 22:19:04 +08:00
2022-04-28 22:19:04 +08:00
2022-05-17 11:30:23 +08:00
2022-04-28 22:19:04 +08:00
2022-04-28 22:19:04 +08:00
2022-04-28 22:19:04 +08:00
2022-05-09 09:16:06 +08:00
2022-05-11 22:11:10 +08:00
2022-05-05 20:45:13 +08:00
2022-04-28 22:19:04 +08:00
2022-05-10 09:01:42 +08:00
2022-04-28 22:19:04 +08:00
2022-05-09 09:16:06 +08:00
2022-04-28 22:19:04 +08:00