Skip to content

Commit 6ce555a

Browse files
committed
Removed all sqlalchemy related stuff
1 parent 38ffa95 commit 6ce555a

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
# 4.0.0
4+
5+
- Split the connector into two separate packages: `databricks-sql-connector` and `databricks-sqlalchemy`. The `databricks-sql-connector` package contains the core functionality of the connector, while the `databricks-sqlalchemy` package contains the SQLAlchemy dialect for the connector.
6+
- Pyarrow dependency is now optional in `databricks-sql-connector`. Users needing arrow are supposed to explicitly install pyarrow
7+
38
# 3.6.0 (2024-10-25)
49

510
- Support encryption headers in the cloud fetch request (https://github.com/databricks/databricks-sql-python/pull/460 by @jackyhu-db)

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ For the latest documentation, see
2222

2323
## Quickstart
2424

25-
Install the library with `pip install databricks-sql-connector[pyarrow]`
25+
### Installing the core library
26+
Install using `pip install databricks-sql-connector`
27+
28+
### Installing the core library with PyArrow
29+
Install using `pip install databricks-sql-connector[pyarrow]`
30+
2631

2732
```bash
2833
export DATABRICKS_HOST=********.databricks.com
@@ -60,6 +65,18 @@ or to a Databricks Runtime interactive cluster (e.g. /sql/protocolv1/o/123456789
6065
> to authenticate the target Databricks user account and needs to open the browser for authentication. So it
6166
> can only run on the user's machine.
6267
68+
## SQLAlchemy
69+
Starting from `databricks-sql-connector` version 4.0.0 SQLAlchemy support has been extracted to a new library `databricks-sqlalchemy`.
70+
71+
- Github repository [databricks-sqlalchemy github](https://github.com/databricks/databricks-sqlalchemy)
72+
- PyPI [databricks-sqlalchemy pypi](https://pypi.org/project/databricks-sqlalchemy/)
73+
74+
### Quick SQLAlchemy guide
75+
Users can now choose between using the SQLAlchemy v1 or SQLAlchemy v2 dialects with the connector core
76+
77+
- Install the latest SQLAlchemy v1 using `pip install databricks-sqlalchemy~=1.0`
78+
- Install SQLAlchemy v2 using `pip install databricks-sqlalchemy`
79+
6380

6481
## Contributing
6582

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databricks-sql-connector"
3-
version = "4.0.0.b3"
3+
version = "4.0.0.b4"
44
description = "Databricks SQL Connector for Python"
55
authors = ["Databricks <[email protected]>"]
66
license = "Apache-2.0"
@@ -23,7 +23,6 @@ numpy = [
2323
]
2424
openpyxl = "^3.0.10"
2525
urllib3 = ">=1.26"
26-
2726
pyarrow = { version = ">=14.0.1,<17", optional=true }
2827

2928
[tool.poetry.extras]

0 commit comments

Comments
 (0)