Skip to content

Commit ed6efb2

Browse files
Merge branch 'databricks:main' into patch-1
2 parents 951ac79 + de2ab7a commit ed6efb2

24 files changed

+774
-287
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# the repo. Unless a later match takes precedence, these
33
# users will be requested for review when someone opens a
44
# pull request.
5-
* @rcypher-databricks @yunbodeng-db @andrefurlan-db @jackyhu-db @benc-db @kravets-levko
5+
* @deeksha-db @samikshya-db @jprakash-db @yunbodeng-db @jackyhu-db @benc-db

.github/workflows/code-quality-checks.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.8, 3.9, "3.10", "3.11"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1515
steps:
1616
#----------------------------------------------
1717
# check-out repo and set-up python
1818
#----------------------------------------------
1919
- name: Check out repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
- name: Set up python ${{ matrix.python-version }}
2222
id: setup-python
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
#----------------------------------------------
@@ -38,7 +38,7 @@ jobs:
3838
#----------------------------------------------
3939
- name: Load cached venv
4040
id: cached-poetry-dependencies
41-
uses: actions/cache@v2
41+
uses: actions/cache@v4
4242
with:
4343
path: .venv
4444
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
strategy:
6464
matrix:
65-
python-version: [ 3.8, 3.9, "3.10", "3.11" ]
65+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6666
steps:
6767
#----------------------------------------------
6868
# check-out repo and set-up python
@@ -89,7 +89,7 @@ jobs:
8989
#----------------------------------------------
9090
- name: Load cached venv
9191
id: cached-poetry-dependencies
92-
uses: actions/cache@v2
92+
uses: actions/cache@v4
9393
with:
9494
path: .venv-pyarrow
9595
key: venv-pyarrow-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
@@ -113,16 +113,16 @@ jobs:
113113
runs-on: ubuntu-latest
114114
strategy:
115115
matrix:
116-
python-version: [3.8, 3.9, "3.10"]
116+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
117117
steps:
118118
#----------------------------------------------
119119
# check-out repo and set-up python
120120
#----------------------------------------------
121121
- name: Check out repository
122-
uses: actions/checkout@v2
122+
uses: actions/checkout@v4
123123
- name: Set up python ${{ matrix.python-version }}
124124
id: setup-python
125-
uses: actions/setup-python@v2
125+
uses: actions/setup-python@v5
126126
with:
127127
python-version: ${{ matrix.python-version }}
128128
#----------------------------------------------
@@ -140,7 +140,7 @@ jobs:
140140
#----------------------------------------------
141141
- name: Load cached venv
142142
id: cached-poetry-dependencies
143-
uses: actions/cache@v2
143+
uses: actions/cache@v4
144144
with:
145145
path: .venv
146146
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
@@ -165,16 +165,16 @@ jobs:
165165
runs-on: ubuntu-latest
166166
strategy:
167167
matrix:
168-
python-version: [3.8, 3.9, "3.10"]
168+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
169169
steps:
170170
#----------------------------------------------
171171
# check-out repo and set-up python
172172
#----------------------------------------------
173173
- name: Check out repository
174-
uses: actions/checkout@v2
174+
uses: actions/checkout@v4
175175
- name: Set up python ${{ matrix.python-version }}
176176
id: setup-python
177-
uses: actions/setup-python@v2
177+
uses: actions/setup-python@v5
178178
with:
179179
python-version: ${{ matrix.python-version }}
180180
#----------------------------------------------
@@ -192,7 +192,7 @@ jobs:
192192
#----------------------------------------------
193193
- name: Load cached venv
194194
id: cached-poetry-dependencies
195-
uses: actions/cache@v2
195+
uses: actions/cache@v4
196196
with:
197197
path: .venv
198198
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/dco-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
id: dco-check
1111
uses: tisonkun/[email protected]
1212
- name: Comment about DCO status
13-
uses: actions/github-script@v6
13+
uses: actions/github-script@v7
1414
if: ${{ failure() }}
1515
with:
1616
script: |

.github/workflows/integration.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
# check-out repo and set-up python
2121
#----------------------------------------------
2222
- name: Check out repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
- name: Set up python
2525
id: setup-python
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: "3.10"
2929
#----------------------------------------------
@@ -41,7 +41,7 @@ jobs:
4141
#----------------------------------------------
4242
- name: Load cached venv
4343
id: cached-poetry-dependencies
44-
uses: actions/cache@v2
44+
uses: actions/cache@v4
4545
with:
4646
path: .venv
4747
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/publish-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
# check-out repo and set-up python
1010
#----------------------------------------------
1111
- name: Check out repository
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
- name: Set up python
1414
id: setup-python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: 3.9
1818
#----------------------------------------------
@@ -29,7 +29,7 @@ jobs:
2929
#----------------------------------------------
3030
- name: Load cached venv
3131
id: cached-poetry-dependencies
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
with:
3434
path: .venv
3535
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
# check-out repo and set-up python
1212
#----------------------------------------------
1313
- name: Check out repository
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
- name: Set up python
1616
id: setup-python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: 3.9
2020
#----------------------------------------------
@@ -31,7 +31,7 @@ jobs:
3131
#----------------------------------------------
3232
- name: Load cached venv
3333
id: cached-poetry-dependencies
34-
uses: actions/cache@v2
34+
uses: actions/cache@v4
3535
with:
3636
path: .venv
3737
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}

CHANGELOG.md

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

3-
# 4.0.0 (TBD)
3+
# 4.0.0 (2025-01-19)
44

55
- 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.
66
- Pyarrow dependency is now optional in `databricks-sql-connector`. Users needing arrow are supposed to explicitly install pyarrow
77

8+
# 3.7.3 (2025-03-28)
9+
10+
- Fix: Unable to poll small results in execute_async function (databricks/databricks-sql-python#515 by @jprakash-db)
11+
- Updated log messages to show the status code and error messages of requests (databricks/databricks-sql-python#511 by @jprakash-db)
12+
- Fix: Incorrect metadata was fetched in case of queries with the same alias (databricks/databricks-sql-python#505 by @jprakash-db)
13+
14+
# 3.7.2 (2025-01-31)
15+
16+
- Updated the retry_dela_max and retry_timeout (databricks/databricks-sql-python#497 by @jprakash-db)
17+
18+
# 3.7.1 (2025-01-07)
19+
20+
- Relaxed the number of Http retry attempts (databricks/databricks-sql-python#486 by @jprakash-db)
21+
822
# 3.7.0 (2024-12-23)
923

1024
- Fix: Incorrect number of rows fetched in inline results when fetching results with FETCH_NEXT orientation (databricks/databricks-sql-python#479 by @jprakash-db)

0 commit comments

Comments
 (0)