From 437707e67cd3802e6768d53c38180b534310dd07 Mon Sep 17 00:00:00 2001 From: Jesse Whitehouse Date: Fri, 14 Jul 2023 14:21:25 -0500 Subject: [PATCH 1/4] Bump version to 2.8.0 Signed-off-by: Jesse Whitehouse --- CHANGELOG.md | 4 +++- pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 979ed34b1..f0b2bfa9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 2.7.x (Unreleased) +## 2.8.x (Unreleased) + +## 2.8.0 (2023-07-14) - Add support for Cloud Fetch (#146, #151, #154) - SQLAlchemy has_table function now honours schema= argument and adds catalog= argument (#174) diff --git a/pyproject.toml b/pyproject.toml index 0c44d0def..8d89ba2d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "databricks-sql-connector" -version = "2.7.0" +version = "2.8.0" description = "Databricks SQL Connector for Python" authors = ["Databricks "] license = "Apache-2.0" diff --git a/src/databricks/sql/__init__.py b/src/databricks/sql/__init__.py index b72d94215..f9a492817 100644 --- a/src/databricks/sql/__init__.py +++ b/src/databricks/sql/__init__.py @@ -28,7 +28,7 @@ def __repr__(self): DATE = DBAPITypeObject("date") ROWID = DBAPITypeObject() -__version__ = "2.7.0" +__version__ = "2.8.0" USER_AGENT_NAME = "PyDatabricksSqlConnector" # These two functions are pyhive legacy From 0ae3673b82d3dba071ec0bde4a12faecf2610cb6 Mon Sep 17 00:00:00 2001 From: Jesse Whitehouse Date: Fri, 21 Jul 2023 08:41:02 -0500 Subject: [PATCH 2/4] Update the release date Signed-off-by: Jesse Whitehouse --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0b2bfa9b..4f5b515d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 2.8.x (Unreleased) -## 2.8.0 (2023-07-14) +## 2.8.0 (2023-07-21) - Add support for Cloud Fetch (#146, #151, #154) - SQLAlchemy has_table function now honours schema= argument and adds catalog= argument (#174) From 3200563bb6baf17004e426abad18db2acfbdf06b Mon Sep 17 00:00:00 2001 From: Jesse Whitehouse Date: Wed, 9 Aug 2023 17:44:59 -0400 Subject: [PATCH 3/4] Bump to version 2.9.0 This includes the new DatabricksRetryPolicy Signed-off-by: Jesse Whitehouse --- CHANGELOG.md | 4 +++- pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c76f11d8..e86da540d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 2.8.x (Unreleased) +## 2.10.x (Unreleased) + +## 2.9.0 (2023-08-10) - Replace retry handling with DatabricksRetryPolicy. This is disabled by default. To enable, set `enable_v3_retries=True` when creating `databricks.sql.client` - Other: Fix typo in README quick start example diff --git a/pyproject.toml b/pyproject.toml index 8d89ba2d1..90db58d92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "databricks-sql-connector" -version = "2.8.0" +version = "2.9.0" description = "Databricks SQL Connector for Python" authors = ["Databricks "] license = "Apache-2.0" diff --git a/src/databricks/sql/__init__.py b/src/databricks/sql/__init__.py index f9a492817..c55d17ca6 100644 --- a/src/databricks/sql/__init__.py +++ b/src/databricks/sql/__init__.py @@ -28,7 +28,7 @@ def __repr__(self): DATE = DBAPITypeObject("date") ROWID = DBAPITypeObject() -__version__ = "2.8.0" +__version__ = "2.9.0" USER_AGENT_NAME = "PyDatabricksSqlConnector" # These two functions are pyhive legacy From 1911b1c0ae5f864336040ac3646a002655223bc1 Mon Sep 17 00:00:00 2001 From: Jesse Whitehouse Date: Wed, 9 Aug 2023 17:57:18 -0400 Subject: [PATCH 4/4] Add note to changelog about using cloud_fetch Signed-off-by: Jesse Whitehouse --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e86da540d..30a060d66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ ## 2.8.0 (2023-07-21) -- Add support for Cloud Fetch (#146, #151, #154) +- Add support for Cloud Fetch. Disabled by default. Set `use_cloud_fetch=True` when building `databricks.sql.client` to enable it (#146, #151, #154) - SQLAlchemy has_table function now honours schema= argument and adds catalog= argument (#174) - SQLAlchemy set non_native_boolean_check_constraint False as it's not supported by Databricks (#120) - Fix: Revised SQLAlchemy dialect and examples for compatibility with SQLAlchemy==1.3.x (#173)