From 0fbe62dea455bb9676d16bb8a3d9016e822c2d62 Mon Sep 17 00:00:00 2001 From: Martin Burchell Date: Thu, 20 Mar 2025 11:45:18 +0000 Subject: [PATCH 1/2] Add VARCHAR to Databricks types --- cardinal_pythonlib/sqlalchemy/schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cardinal_pythonlib/sqlalchemy/schema.py b/cardinal_pythonlib/sqlalchemy/schema.py index 6d0201e..2b85311 100644 --- a/cardinal_pythonlib/sqlalchemy/schema.py +++ b/cardinal_pythonlib/sqlalchemy/schema.py @@ -138,6 +138,7 @@ "DECIMAL": Numeric, "SMALLINT": SmallInteger, "STRING": Text, + "VARCHAR": String, } From ce6b3191df15e7e83dd9ca7b37a42d9bc667601b Mon Sep 17 00:00:00 2001 From: Martin Burchell Date: Mon, 7 Apr 2025 11:37:06 +0100 Subject: [PATCH 2/2] Update changelog and version number --- cardinal_pythonlib/version_string.py | 2 +- docs/source/changelog.rst | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cardinal_pythonlib/version_string.py b/cardinal_pythonlib/version_string.py index 1fd1ef7..696be3e 100644 --- a/cardinal_pythonlib/version_string.py +++ b/cardinal_pythonlib/version_string.py @@ -31,5 +31,5 @@ """ -VERSION_STRING = "2.0.4" +VERSION_STRING = "2.0.5" # Use semantic versioning: https://semver.org/ diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index a5b9952..deb6c93 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -885,3 +885,7 @@ Quick links: - Fix :func:`cardinal_pythonlib.sqlalchemy.schema.execute_ddl` so that it always commits. Not all dialects commit automatically. + +**2.0.5 (2025-04-07)** + +- Add VARCHAR to valid Databricks types.