You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by melin li <li...@gmail.com> on 2022/11/28 14:59:14 UTC

如果一个hive 数据库同时有hudi表和parquet,需要注册两个catalog?

如果一个hive 数据库同时有hudi和parquet表,好像只能分别注册hive catalog,和hudi
catalog,两不同表需要分别使用通过catalog。不是很优雅,也对用户造成困惑。
select * from hudi_catalog.dbName.table1 left jon hive_catalog.dbBane.table2

spark 如果把hudi catalog注册名为spark_catalog,spark_catalog 是spark 默认cataog 名。sql
同时方式hudi 和parquet表,不需要添加catalog name。
select * from dbName.table1 left jon dbBane.table2