Releases: databricks/databricks-sql-python
Releases · databricks/databricks-sql-python
v2.9.5
v2.9.4
What's Changed
Fix: Cloud fetch file download errors (#356)
Fix: Redact the URL query parameters from the urllib3.connectionpool logs (#341)
Full Changelog: v2.9.3...v2.9.4
v3.1.0
v2.9.4-beta.1
v3.0.3
v3.0.2
In this release:
SQLAlchemy dialect now supports table and column comments (thanks @cbornet!)
Fix: SQLAlchemy dialect now correctly reflects TINYINT types (thanks @TimTheinAtTabs!)
Fix: server_hostname URIs that included https:// would raise an exception
Other: pinned to pandas<=2.1 and urllib3>=1.26 to avoid runtime errors in dbt-databricks (#330)
v3.0.1
In this release:
- Other: updated docstring comment about default parameterization approach (#287)
- Other: added tests for reading complex types and revised docstrings and type hints (#293)
- Fix: SQLAlchemy dialect raised DeprecationWarning due to dbapi classmethod (#294)
- Fix: SQLAlchemy dialect could not reflect TIMESTAMP_NTZ columns (#296)
v3.0.0
You can now pip install databricks-sql-connector==3.0.0
.
This release:
- Removes support for Python 3.7
- Adds support for native parameterized SQL queries. Requires DBR 14.2 and above. See here for more information.
- Includes our completely rewritten SQLAlchemy dialect:
- Adds support for SQLAlchemy >= 2.0 and drops support for SQLAlchemy 1.x
- Full e2e test coverage of all supported features
- Detailed usage notes available here
- Adds support for:
- New types:
TIME
,TIMESTAMP
,TIMESTAMP_NTZ
,TINYINT
Numeric
type scale and precision, likeNumeric(10,2)
- Reading and writing
PrimaryKeyConstraint
andForeignKeyConstraint
- Reading and writing composite keys
- Reading and writing from views
- Writing
Identity
to tables (i.e. autoincrementing primary keys) LIMIT
andOFFSET
for paging through results- Caching metadata calls
- New types:
- Enables cloud fetch by default. To disable, set
use_cloud_fetch=False
when buildingdatabricks.sql.client
. - Add integration tests for Databricks UC Volumes ingestion queries
- Retries:
- Add
_retry_max_redirects
config - Set
_enable_v3_retries=True
and warn if users override it.
- Add
- Security: Bumps minimum pyarrow version to 14.0.1 (CVE-2023-47248)