Apache Superset 连接到 Apache Drill 使用 Sql Alchemy

huangapple go评论48阅读模式
英文:

Apache Superset connection to Apache Drill with Sql Alchemy

问题

我正在尝试在我的本地环境中设置Superset。我使用的是Windows系统,所以我使用了VM Virtual Box,并使用Ubuntu 22.04来设置和运行Superset。我按照Docker的说明进行操作,使用了docker compose up命令来启动。

然后,我按照https://thedataist.com/visualize-anything-with-superset-and-drill教程中的步骤安装了SQL Alchemy。

我有一个托管在在线服务器上的Apache Drill。

当我尝试使用以下URL添加数据库时drill+sadrill://external-ip:8047?use_ssl=False,我收到以下错误消息。
sqlalchemy.exc.NoSuchModuleError: 无法加载插件:sqlalchemy.dialects:drill.sadrill

我尝试了各种解决方案,任何帮助都将不胜感激。

英文:

I am trying to setup Superset in my local. I have a windows system, so i used VM Virtual Box, with Ubuntu 22.04 to setup and run the superset. I followed the docker instructions. Used the docker compose up command in order to start.

The I installed the SQL Alchemy following the https://thedataist.com/visualize-anything-with-superset-and-drill tutorial.

I have an Apache Drill hosted on a server online.

When i try to add the database using the url drill+sadrill://external-ip:8047?use_ssl=False , i am getting the following error.
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:drill.sadrill

I have tried various solutons, any help would be appreciated.

答案1

得分: 1

通过在docker文件夹中添加requirements-local.txt文件并指定依赖项来解决了这个问题。

英文:

Resolved issue by adding the

> requirements-local.txt

file in the docker folder and specifying the dependencies.

huangapple
  • 本文由 发表于 2023年6月1日 15:55:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76379790.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定