2 个回答
创建和hive相关联的catalog示例sql如下:
CREATE CATALOG my_hive WITH (
'type' = 'paimon',
'metastore' = 'hive',
'uri' = 'thrift://<hive-metastore-host-name>:<port>',
-- 'hive-conf-dir' = '...', this is recommended in the kerberos environment
-- 'hadoop-conf-dir' = '...', this is recommended in the kerberos environment
'warehouse' = 'hdfs:///path/to/warehouse'
);
USE CATALOG my_hive;
发布于:2年前 (2023-09-06) IP属地:四川省
创建普通的catalog示例sql如下:
CREATE CATALOG my_catalog WITH (
'type' = 'paimon',
'warehouse' = 'hdfs:///path/to/warehouse'
);
USE CATALOG my_catalog;
发布于:2年前 (2023-09-06) IP属地:四川省
我来回答
您需要 登录 后回答此问题!