跳转到主要内容

一个包含tentaclio的schema databricks:pyodbc所有依赖项的python项目。

项目描述

tentaclio-databricks-pyodbc

一个包含tentaclio的schema databricks:pyodbc所有依赖项的包。

快速入门

该项目包含一个Makefile,可以执行基本的常见任务。

$ make help
install                       Initalise the virtual env installing deps
clean                         Remove all the unwanted clutter
lock                          Lock dependencies
update                        Update dependencies (whole tree)
sync                          Install dependencies as per the lock file
lint                          Lint files with flake and mypy
format                        Run black and isort
test                          Run unit tests
circleci                      Validate circleci configuration (needs circleci cli)

配置对Databricks的访问

为了使用Tentaclio连接到Databricks集群或SQL端点,需要安装操作系统所需的ODBC驱动程序

安装后,可以像访问任何支持的URL协议一样访问Databricks。但是,您可能需要在URL查询字符串中传递一些附加变量,包括已安装驱动程序的路径。

例如,如果您的Databricks连接需要您设置DRIVER和HTTPPATH值,则URL应如下所示

databricks+pyodbc://<token>@<host>/<database>?DRIVER=<path/to/driver>&HTTPPath=<http_path>

由以下支持