databricks-sqlalchemy 2.0.0__py3-none-any.whl → 2.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CHANGELOG.md +3 -2
- databricks/sqlalchemy/dependency_test/test_dependency.py +2 -2
- {databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/METADATA +3 -6
- {databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/RECORD +7 -7
- {databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/LICENSE +0 -0
- {databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/WHEEL +0 -0
- {databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/entry_points.txt +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
# 2.0.
|
3
|
+
# 2.0.2
|
4
4
|
|
5
|
-
-
|
5
|
+
- All the SQLAlchemy features from `databricks-sql-connector>=4.0.0` have been moved to this `databricks-sqlalchemy` library
|
6
|
+
- Support for SQLAlchemy v2 dialect is provided
|
@@ -5,9 +5,9 @@ class DatabricksImportError(Exception):
|
|
5
5
|
|
6
6
|
class TestLibraryDependencySuite:
|
7
7
|
|
8
|
-
@pytest.mark.skipif(pytest.importorskip("
|
8
|
+
@pytest.mark.skipif(pytest.importorskip("databricks_sql_connector"), reason="databricks_sql_connector is present")
|
9
9
|
def test_sql_core(self):
|
10
|
-
with pytest.raises(DatabricksImportError, match="
|
10
|
+
with pytest.raises(DatabricksImportError, match="databricks_sql_connector module is not available"):
|
11
11
|
try:
|
12
12
|
import databricks
|
13
13
|
except ImportError:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: databricks-sqlalchemy
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.2
|
4
4
|
Summary: Databricks SQLAlchemy plugin for Python
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: Databricks
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.10
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
16
|
-
Requires-Dist:
|
16
|
+
Requires-Dist: databricks_sql_connector (==4.0.0.b4)
|
17
17
|
Requires-Dist: sqlalchemy (>=2.0.21)
|
18
18
|
Project-URL: Bug Tracker, https://github.com/databricks/databricks-sqlalchemy/issues
|
19
19
|
Project-URL: Homepage, https://github.com/databricks/databricks-sqlalchemy
|
@@ -21,10 +21,7 @@ Description-Content-Type: text/markdown
|
|
21
21
|
|
22
22
|
## Databricks dialect for SQLALchemy 2.0
|
23
23
|
|
24
|
-
The Databricks dialect for SQLAlchemy serves as bridge between [SQLAlchemy](https://www.sqlalchemy.org/) and the Databricks SQL Python driver. A working example demonstrating usage can be found in `
|
25
|
-
|
26
|
-
## Usage with SQLAlchemy <= 2.0
|
27
|
-
A SQLAlchemy 1.4 compatible dialect was first released in connector [version 2.4](https://github.com/databricks/databricks-sql-python/releases/tag/v2.4.0). Support for SQLAlchemy 1.4 was dropped from the dialect as part of `databricks-sql-connector==3.0.0`. To continue using the dialect with SQLAlchemy 1.x, you can use `databricks-sql-connector^2.4.0`.
|
24
|
+
The Databricks dialect for SQLAlchemy serves as bridge between [SQLAlchemy](https://www.sqlalchemy.org/) and the Databricks SQL Python driver. A working example demonstrating usage can be found in `sqlalchemy_example.py`.
|
28
25
|
|
29
26
|
|
30
27
|
## Installation
|
@@ -1,10 +1,10 @@
|
|
1
|
-
CHANGELOG.md,sha256=
|
1
|
+
CHANGELOG.md,sha256=2zO4pILg4g5WPmm0xxrqooNJ-14OIYn7m8cqxQeUhjc,203
|
2
2
|
databricks/sqlalchemy/__init__.py,sha256=Gk3XC5OCzq7LuxMVpxK3t4q0rkflXJ8uJRJh9uusMqc,185
|
3
3
|
databricks/sqlalchemy/_ddl.py,sha256=c0_GwfmnrFVr4-Ls14fmdGUUFyUok_GW4Uo45hLABFc,3983
|
4
4
|
databricks/sqlalchemy/_parse.py,sha256=C0Q0_87PknCibRjs3ewPL5dimwQqaW_vr4nMxMsS220,13048
|
5
5
|
databricks/sqlalchemy/_types.py,sha256=EqC_TWWY7mDw9EM2AVZnPrw5DD6G-vBV7wiwX4tcBcM,11753
|
6
6
|
databricks/sqlalchemy/base.py,sha256=KcjfHMH0NsceYE2NRxrePtf5T1uw9u8JHofRdbnAKS4,15619
|
7
|
-
databricks/sqlalchemy/dependency_test/test_dependency.py,sha256=
|
7
|
+
databricks/sqlalchemy/dependency_test/test_dependency.py,sha256=AAq1JQ_KMDBu9g7Fu6-MQ9szAc--wfodlSXRTaDK-_I,923
|
8
8
|
databricks/sqlalchemy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
databricks/sqlalchemy/pytest.ini,sha256=ImutflUjkhByVNWCQ18Todj6XTvgJAQX_v7fD-gWHhU,106
|
10
10
|
databricks/sqlalchemy/requirements.py,sha256=OobunAEwZ9y2dvSQLOmdgJciVn9xGlY9NAFfszPCTU0,9018
|
@@ -24,8 +24,8 @@ databricks/sqlalchemy/test_local/e2e/test_basic.py,sha256=wLP28vz2H9wz0dS52_iXbR
|
|
24
24
|
databricks/sqlalchemy/test_local/test_ddl.py,sha256=L5V1NoW9dT-7BHcaB97FQOw9ZFvo0g2_FIPKqOzlECM,3198
|
25
25
|
databricks/sqlalchemy/test_local/test_parsing.py,sha256=pSTAnWyA44vDTEZ-_HnfwEr3QbA2Kmzn1yU5q1GqMts,5017
|
26
26
|
databricks/sqlalchemy/test_local/test_types.py,sha256=Uey-z4ypzD5ykClBQs7XNW9KArHPbZU2cAk3EYD9jS0,6749
|
27
|
-
databricks_sqlalchemy-2.0.
|
28
|
-
databricks_sqlalchemy-2.0.
|
29
|
-
databricks_sqlalchemy-2.0.
|
30
|
-
databricks_sqlalchemy-2.0.
|
31
|
-
databricks_sqlalchemy-2.0.
|
27
|
+
databricks_sqlalchemy-2.0.2.dist-info/LICENSE,sha256=WgVm2VpfZ3CsUfPndD2NeCrEIcFA4UB-YnnW4ejxcbE,11346
|
28
|
+
databricks_sqlalchemy-2.0.2.dist-info/METADATA,sha256=am7wtqczdu--W8w42gWor23gU5wr3oJ8jJP-_EFJVj4,12682
|
29
|
+
databricks_sqlalchemy-2.0.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
30
|
+
databricks_sqlalchemy-2.0.2.dist-info/entry_points.txt,sha256=AAjpsvZbVcoMAcWLIesoAT5FNZhBEcIhxdKknVua3jw,74
|
31
|
+
databricks_sqlalchemy-2.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{databricks_sqlalchemy-2.0.0.dist-info → databricks_sqlalchemy-2.0.2.dist-info}/entry_points.txt
RENAMED
File without changes
|