You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix: `server_hostname` URIs that included `https://` would raise an exception
34
+
- Other: pinned to `pandas<=2.1` and `urllib3>=1.26` to avoid runtime errors in dbt-databricks (#330)
35
+
36
+
## 3.0.1 (2023-12-01)
37
+
38
+
- Other: updated docstring comment about default parameterization approach (#287)
39
+
- Other: added tests for reading complex types and revised docstrings and type hints (#293)
40
+
- Fix: SQLAlchemy dialect raised DeprecationWarning due to `dbapi` classmethod (#294)
41
+
- Fix: SQLAlchemy dialect could not reflect TIMESTAMP_NTZ columns (#296)
42
+
43
+
## 3.0.0 (2023-11-17)
44
+
45
+
- Remove support for Python 3.7
46
+
- Add support for native parameterized SQL queries. Requires DBR 14.2 and above. See docs/parameters.md for more info.
47
+
- Completely rewritten SQLAlchemy dialect
48
+
- Adds support for SQLAlchemy >= 2.0 and drops support for SQLAlchemy 1.x
49
+
- Full e2e test coverage of all supported features
50
+
- Detailed usage notes in `README.sqlalchemy.md`
51
+
- Adds support for:
52
+
- New types: `TIME`, `TIMESTAMP`, `TIMESTAMP_NTZ`, `TINYINT`
53
+
-`Numeric` type scale and precision, like `Numeric(10,2)`
54
+
- Reading and writing `PrimaryKeyConstraint` and `ForeignKeyConstraint`
55
+
- Reading and writing composite keys
56
+
- Reading and writing from views
57
+
- Writing `Identity` to tables (i.e. autoincrementing primary keys)
58
+
-`LIMIT` and `OFFSET` for paging through results
59
+
- Caching metadata calls
60
+
- Enable cloud fetch by default. To disable, set `use_cloud_fetch=False` when building `databricks.sql.client`.
6
61
- Add integration tests for Databricks UC Volumes ingestion queries
7
62
- Add `_retry_max_redirects` config
8
63
- Enable cloud fetch by default. To disable, set `use_cloud_fetch=False` when building `databricks.sql.client`.
9
-
- Fix: our logger would raise an uncaught exception under certain oauth error conditions
10
64
11
65
## 2.9.3 (2023-08-24)
12
66
13
67
- Fix: Connections failed when urllib3~=1.0.0 is installed (#206)
14
68
15
69
## 2.9.2 (2023-08-17)
16
70
17
-
__Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed. The log changes are incorporated into version 2.9.3 and greater.__
71
+
**Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed. The log changes are incorporated into version 2.9.3 and greater.**
- Other: suppress log message when `_enable_v3_retries` is not `True` (#199)
21
75
- Other: make this connector backwards compatible with `urllib3>=1.0.0` (#197)
22
76
23
77
## 2.9.1 (2023-08-11)
24
78
25
-
__Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed.__
79
+
**Note: this release was yanked from Pypi on 13 September 2023 due to compatibility issues with environments where `urllib3<=2.0.0` were installed.**
26
80
27
81
- Other: Explicitly pin urllib3 to ^2.0.0 (#191)
28
82
@@ -75,6 +129,7 @@ __Note: this release was yanked from Pypi on 13 September 2023 due to compatibil
75
129
- Other: Relax sqlalchemy required version as it was unecessarily strict.
76
130
77
131
## 2.5.0 (2023-04-14)
132
+
78
133
- Add support for External Auth providers
79
134
- Fix: Python HTTP proxies were broken
80
135
- Other: All Thrift requests that timeout during connection will be automatically retried
@@ -96,8 +151,8 @@ __Note: this release was yanked from Pypi on 13 September 2023 due to compatibil
96
151
97
152
## 2.2.2 (2023-01-03)
98
153
99
-
- Support custom oauth client id and redirect port
100
-
- Fix: Add none check on _oauth_persistence in DatabricksOAuthProvider
154
+
- Support custom oauth client id and redirect port
155
+
- Fix: Add none check on \_oauth_persistence in DatabricksOAuthProvider
101
156
102
157
## 2.2.1 (2022-11-29)
103
158
@@ -129,57 +184,71 @@ Huge thanks to @dbaxa for contributing this change!
129
184
130
185
- Add retry logic for `GetOperationStatus` requests that fail with an `OSError`
131
186
- Reorganised code to use Poetry for dependency management.
187
+
132
188
## 2.0.2 (2022-05-04)
189
+
133
190
- Better exception handling in automatic connection close
134
191
135
192
## 2.0.1 (2022-04-21)
193
+
136
194
- Fixed Pandas dependency in setup.cfg to be >= 1.2.0
137
195
138
196
## 2.0.0 (2022-04-19)
197
+
139
198
- Initial stable release of V2
140
-
- Added better support for complex types, so that in Databricks runtime 10.3+, Arrays, Maps and Structs will get
199
+
- Added better support for complex types, so that in Databricks runtime 10.3+, Arrays, Maps and Structs will get
141
200
deserialized as lists, lists of tuples and dicts, respectively.
142
201
- Changed the name of the metadata arg to http_headers
143
202
144
203
## 2.0.b2 (2022-04-04)
204
+
145
205
- Change import of collections.Iterable to collections.abc.Iterable to make the library compatible with Python 3.10
146
206
- Fixed bug with .tables method so that .tables works as expected with Unity-Catalog enabled endpoints
147
207
148
208
## 2.0.0b1 (2022-03-04)
209
+
149
210
- Fix packaging issue (dependencies were not being installed properly)
150
211
- Fetching timestamp results will now return aware instead of naive timestamps
151
212
- The client will now default to using simplified error messages
152
213
153
214
## 2.0.0b (2022-02-08)
215
+
154
216
- Initial beta release of V2. V2 is an internal re-write of large parts of the connector to use Databricks edge features. All public APIs from V1 remain.
155
-
- Added Unity Catalog support (pass catalog and / or schema key word args to the .connect method to select initial schema and catalog)
217
+
- Added Unity Catalog support (pass catalog and / or schema key word args to the .connect method to select initial schema and catalog)
156
218
157
219
---
158
220
159
221
**Note**: The code for versions prior to `v2.0.0b` is not contained in this repository. The below entries are included for reference only.
160
222
161
223
---
224
+
162
225
## 1.0.0 (2022-01-20)
226
+
163
227
- Add operations for retrieving metadata
164
228
- Add the ability to access columns by name on result rows
165
229
- Add the ability to provide configuration settings on connect
166
230
167
231
## 0.9.4 (2022-01-10)
232
+
168
233
- Improved logging and error messages.
169
234
170
235
## 0.9.3 (2021-12-08)
236
+
171
237
- Add retries for 429 and 503 HTTP responses.
172
238
173
239
## 0.9.2 (2021-12-02)
240
+
174
241
- (Bug fix) Increased Thrift requirement from 0.10.0 to 0.13.0 as 0.10.0 was in fact incompatible
175
242
- (Bug fix) Fixed error message after query execution failed -SQLSTATE and Error message were misplaced
176
243
177
244
## 0.9.1 (2021-09-01)
245
+
178
246
- Public Preview release, Experimental tag removed
179
247
- minor updates in internal build/packaging
180
248
- no functional changes
181
249
182
250
## 0.9.0 (2021-08-04)
251
+
183
252
- initial (Experimental) release of pyhive-forked connector
184
253
- Python DBAPI 2.0 (PEP-0249), thrift based
185
254
- see docs for more info: https://docs.databricks.com/dev-tools/python-sql-connector.html
0 commit comments