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
StarRocks > CREATE EXTERNAL CATALOG hudi_catalog_hms
-> PROPERTIES
-> (
-> "type" = "hudi",
-> "hive.metastore.type" = "hive",
-> "hive.metastore.uris" = "thrift://hive-metastore:9083",
-> "aws.s3.use_instance_profile" = "false",
-> "aws.s3.access_key" = "admin",
-> "aws.s3.secret_key" = "password",
-> "aws.s3.region" = "us-east-1",
-> "aws.s3.enable_ssl" = "false",
-> "aws.s3.enable_path_style_access" = "true",
-> "aws.s3.endpoint" = "http://minio:9000"
-> );
Query OK, 0 rows affected (0.44 sec)
StarRocks > set catalog hudi_catalog_hms;
Query OK, 0 rows affected (0.00 sec)
StarRocks > show databases;
use hudi_onetable;
show tables;
+--------------------+
| Database |
+--------------------+
| default |
| hudi_onetable |
| information_schema |
+--------------------+
3 rows in set (0.23 sec)
StarRocks > use hudi_onetable;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
StarRocks > show tables;
+-------------------------+
| Tables_in_hudi_onetable |
+-------------------------+
| people |
+-------------------------+
1 row in set (0.00 sec)
StarRocks > select * from people;
+---------------------+------------------------+-----------------------+------------------------+-------------------------------------------------------------------------+------+---------+------+------+---------------------+
| _hoodie_commit_time | _hoodie_commit_seqno | _hoodie_record_key | _hoodie_partition_path | _hoodie_file_name | id | name | age | city | create_ts |
+---------------------+------------------------+-----------------------+------------------------+-------------------------------------------------------------------------+------+---------+------+------+---------------------+
| 20240222213015211 | 20240222213015211_8_12 | 20240222213015211_8_0 | city=DFW | b503b61b-b5c9-437d-81a6-3732da898e27-0_8-42-0_20240222213015211.parquet | 6 | Charlie | 31 | DFW | 2023-08-29 00:00:00 |
| 20240222213015211 | 20240222213015211_2_7 | 20240222213015211_2_0 | city=SFO | 467cf3fa-18fc-4aa1-a20c-8581b4abd039-0_2-36-0_20240222213015211.parquet | 2 | Emily | 30 | SFO | 2023-09-28 00:00:00 |
| 20240222213015211 | 20240222213015211_7_9 | 20240222213015211_7_0 | city=SEA | fd8ec934-da12-4cb0-9b19-9aaa524b3159-0_7-41-0_20240222213015211.parquet | 5 | Bob | 28 | SEA | 2023-09-23 00:00:00 |
| 20240222213015211 | 20240222213015211_4_8 | 20240222213015211_4_0 | city=ORD | e5bb037a-8141-46d8-b3a8-d4211373d354-0_4-38-0_20240222213015211.parquet | 3 | Michael | 35 | ORD | 2023-09-28 00:00:00 |
| 20240222213015211 | 20240222213015211_5_10 | 20240222213015211_5_0 | city=NYC | a239d9f5-ceba-4ca5-ba83-51cea9a2731e-0_5-39-0_20240222213015211.parquet | 4 | Andrew | 40 | NYC | 2023-10-28 00:00:00 |
| 20240222213015211 | 20240222213015211_1_11 | 20240222213015211_1_0 | city=NYC | 294108a6-8702-4bce-a704-0bcb6196e8bf-0_1-35-0_20240222213015211.parquet | 1 | John | 25 | NYC | 2023-09-28 00:00:00 |
+---------------------+------------------------+-----------------------+------------------------+-------------------------------------------------------------------------+------+---------+------+------+---------------------+
6 rows in set (5.44 sec)
StarRocks >
Note
Issue with Minio authentication. apache/incubator-xtable#327. Updated: Fixed, waiting for PR to get into main.
Important
You have to compile the onetable code right now to get the 600+ meg utilities-0.1.0-SNAPSHOT-bundled.jar file. They're working on making it smaller but right now, there is no other option.
alberttwong
changed the title
datalakehouse tutorial with onetable
datalakehouse tutorial with hudi, iceberg, delta lake external catalog with conversion done through onetable
Feb 23, 2024
Using https://github.com/StarRocks/demo/tree/master/documentation-samples/datalakehouse and #56
Create huditest bucket.
output
Note
Issue with Minio authentication. apache/incubator-xtable#327. Updated: Fixed, waiting for PR to get into main.
Important
You have to compile the onetable code right now to get the 600+ meg utilities-0.1.0-SNAPSHOT-bundled.jar file. They're working on making it smaller but right now, there is no other option.
output
output
The text was updated successfully, but these errors were encountered: