Skip to content

Commit 7c536d0

Browse files
NiallEgansusodapop
authored andcommitted
Increase version bound for Pandas + release 2.0.1
Users encountering failures with message: ``` After an update in databricks-sql-connector, the query s failing with the following error:- module 'pandas' has no attribute 'Float32Dtype' but succeeds with version 1.0.2 in DBR version 7.3 PFA ``` Looking at [https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.2.0.html#experimental-nullable-data-types-for-float-data](https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.2.0.html#experimental-nullable-data-types-for-float-data), it seems we need to use Pandas 1.2.0+ User verified that upgrading Pandas to 1.2.0 fixed the issue
1 parent 6fa9816 commit 7c536d0

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cmdexec/clients/python/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ python_requires = >=3.7
2222
install_requires =
2323
thrift >= 0.13.0
2424
pyarrow >= 5.0.0
25-
pandas >= 1.0.0
25+
pandas >= 1.2.0
2626

2727
[options.packages.find]
2828
where = src

cmdexec/clients/python/src/databricks/sql/HISTORY

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v2.0.1 - April 21, 2022
2+
- Fixed Pandas dependency in setup.cfg to be >= 1.2.0
3+
14
v2.0.0 - April 19, 2022
25
- Initial stable release of V2
36
- Added better support for complex types, so that in Databricks runtime 10.3+, Arrays, Maps and Structs will get

cmdexec/clients/python/src/databricks/sql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __repr__(self):
2727
DATE = DBAPITypeObject('date')
2828
ROWID = DBAPITypeObject()
2929

30-
__version__ = "2.0.0"
30+
__version__ = "2.0.1"
3131
USER_AGENT_NAME = "PyDatabricksSqlConnector"
3232

3333
# These two functions are pyhive legacy

0 commit comments

Comments
 (0)