databricks-sql-python
databricks-sql-python copied to clipboard
Databricks SQL Connector for Python
I know that the documentation makes it clear that `executemany` is a naive for loop: ``` No optimizations of the query (like batching) will be performed. ``` But it's 2025...
We’re encountering issues with Databricks SQL when attempting to update a row that contains a large JSON array field. Originally, we tried inserting the entire JSON directly into the column,...
When creating a `Connection`, currently it's possible to configure some aspects of pandas / arrow, such as `_use_arrow_native_complex_types` and `_use_arrow_native_timestamps`, but `_convert_arrow_table` uses a hardcoded type mapper that's impossible to...
## What type of PR is this? - [ ] Refactor - [ ] Feature - [ ] Bug Fix - [ ] Other ## Description ## How is this...
### Code to reproduce ```python from databricks import sql sql.connect('my_hostname', 'my_http_path') ``` ### Output ``` Traceback (most recent call last): File "", line 1, in File "/.venv/lib/python3.11/site-packages/databricks/sql/__init__.py", line 88, in...