如何将 Hive 与 Superset 连接?

问题描述

我想将 hive 与超集连接,但出现此错误

  • 创建数据库时出错:(configuration_method) 必填字段缺少数据。

我的 sqlalchemy 推荐是

  • hive://myhost:10000/default

我在连接之前启动了 hiveserver 和 hivemetastore

解决方法

hive 的连接字符串格式应该是

hive://hive@{hostname}:{port}/{database}

文档可以在这里找到:

https://superset.apache.org/docs/databases/installing-database-drivers