Trino集成各組件
Hive
Mysql
Hudi
trino 集成hudi 是基于hive catalog, 同樣是訪問hive外表進行查詢。如果要集成,需要把hudi trino jar包copy 到trino plugin hive插件下面。
cp hudi/hudi-0.12.0/packaging/hudi-trino-bundle/target/hudi-trino-bundle-0.12.0.jar $TRINO_HOME/plugin/hive/
查詢
$TRINO_HOME/bin/trino --server pmaster:9000
show schemas from hive;
show tables from hive.hudi_hive;
select * from hive.hudi_hive.tbl_customer;

浙公網(wǎng)安備 33010602011771號