databricks-sql-python
databricks-sql-python copied to clipboard
Databricks SQL Connector for Python
The DCO check workflow is failing with the below error message: ``` Error: Although you appear to have the correct authorization credentials, the `databricks` organization has an IP allow list...
DCO tests in GitHub Actions ensure code contributions are legally sound. We are implementing stricter DCO checks. Currently, DCO compliance is not enforced as a pre-merge requirement. Sample PR where...
Versions: Python: 3.12 Databricks SQL Connector: 4.0.0 polars: 1.16.0 I am trying to pass list parametes as it was mentined in docs: https://github.com/databricks/databricks-sql-python/blob/main/docs/parameters.md Steps to reproduce: 1) Create and populate...
We are having random errors while fetching data with the connector to our databricks (serverless warehouse). We tried to debug the origin of this fail, but we were not able...
Bumps [black](https://github.com/psf/black) from 22.12.0 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...
I notice when a query returns empty dataset, the fetchall function fails with `ValueError: need at least one array to concatenate`. The expected behavior is to return an empty list....
> Disclaimer: I am a Databricks employee. Calling `databricks.sql.connect` with a non-existing warehouse_id will raise a generic time-out exception, coming from the `ThriftBackend`. It's only by digging in the source...
## Description Currently while closing a Connection the HTTPConnectionPool is not explicitly closed and just the buffer is emptied upon closing the connection. This creates the issue of the TCP...
Closes https://github.com/databricks/databricks-sql-python/issues/432. ## Motivation This package is currently not compatible with `numpy>=2`, which was released this summer (see [here](https://pypi.org/project/numpy/2.0.0/)). Because of that, this package is incompatible with those that have...
Hello, I was wondering what's the best practice for using this package with pandas. 1. It's possible to create a `databricks.sql.connect` and pass it to `pandas.read_sql`. This works however it...