diff --git a/website/docs/hms.md b/website/docs/hms.md index 2698c839..73787d5c 100644 --- a/website/docs/hms.md +++ b/website/docs/hms.md @@ -114,6 +114,17 @@ A Hudi table can directly be synced to the Hive Metastore using Hive Sync Tool and subsequently be queried by different query engines. For more information on the Hive Sync Tool, check [Hudi Hive Metastore](https://hudi.apache.org/docs/syncing_metastore) docs. +```shell md title="shell with HMS example" +cd $HUDI_HOME/hudi-sync/hudi-hive-sync ; \ +./run_sync_tool.sh \ +--metastore-uris '' \ +--partitioned-by \ +--base-path '' \ +--database \ +--table \ +--sync-mode hms +``` + ```shell md title="shell" cd $HUDI_HOME/hudi-sync/hudi-hive-sync @@ -122,7 +133,7 @@ cd $HUDI_HOME/hudi-sync/hudi-hive-sync --user \ --pass \ --partitioned-by \ ---base-path <'/path/to/synced/hudi/table'> \ +--base-path '' \ --database \ --table ``` @@ -218,6 +229,14 @@ using query engines like `Presto` and/or `Trino`. Check out the guides for query SELECT * FROM iceberg_db.; ``` +```sql md title="sql for Iceberg, Hudi and Delta Lake in S3" +select * from hudi.hudi_db.people; +select * from delta.delta_db.people; +select * from iceberg.iceberg_db.people; +``` + +In the example demo docker image, you can find the catalog configurations. +