Comments (12)
Thanks for the ping. We'll have the answer today about the timeline.
from databricks-sql-python.
After discussion with the team we've actually deprioritised this. We won't consider a timeline for it again for at least a few more weeks. I know that's not a great answer
Perhaps you can help with this? Long-term we'd like to remove the pandas dependency from the connector entirely. Short-term, do you think it would be acceptable to simply update pyproject.toml
to allow pandas==^2.0.0
? If so, we would absolutely review a pull request implementing such a change. If it passes our test suite then there's little risk.
This wouldn't work if pandas 2.0 support involves significant syntax changes to the few places where we import pandas as pd
and do something with it.
from databricks-sql-python.
This is a duplicate of #91. We'll discuss timelines for this and update that ticket within the next week.
Whoops! Got my wires crossed. This isnβt a duplicate. Weβll still have a timeline for it this week.
from databricks-sql-python.
Hello @susodapop π
Sorry to be that person....
Any idea when this will be on the roadmap?
from databricks-sql-python.
@susodapop I had a quick attempt on it, all unit tests pass with pandas@^2.0.0
(it works on my machine π
).
But I had to update the python version to >=3.8.0
. Is this acceptable?
from databricks-sql-python.
from databricks-sql-python.
@susodapop Any thoughts on my comment above about python >=3.8.0
from databricks-sql-python.
Dropping support for Python 3.7 is a significant decision that we need to adequately consider how it will affect other users. I wonder if Poetry will allow us to specify an older version of pandas for Python 3.7 and a newer version of Pandas for >3.8?
from databricks-sql-python.
@PedroBrochado @susodapop, I think either of these approaches would work:
- pandas = ">=1.2.5": https://github.com/cdcadman/databricks-sql-python/commit/5d37969fe5f1adbeb6c925286630ae4b4312173a
- pandas = [
{version = "^2.0.0", python = ">=3.8"},
{version = "^1.2.5", python = "<3.8"}
]: https://github.com/cdcadman/databricks-sql-python/commit/11c07989451425ba5fbeaface6f3bf5c752b3a46
from databricks-sql-python.
Is there any update for pandas 2.0 support? Thank you
from databricks-sql-python.
bumping for pandas 2.0 support
from databricks-sql-python.
We released version 2.8.0 which allows installation alongside pandas==2.0
https://github.com/databricks/databricks-sql-python/releases/tag/v2.8.0
from databricks-sql-python.
Related Issues (20)
- Unpin `pandas` HOT 4
- Provide actionable feedback when internal operations are failing rather than silently retrying for over 10mins HOT 6
- Self-signed certificate in certificate chain error on Debian-based system with databricks-sql-connector >= 2.6.0 HOT 4
- Obtain query execution time or query ID HOT 2
- Proxy authentication not working
- Is it possible to insert an arrow table? HOT 2
- Insert performance is woeful! π’ HOT 11
- cursor.execute returing error 'NoneType' object is not iterable HOT 15
- [Document] Support databricks-cli authentication HOT 1
- Dash/Minus in column name causes UNBOUND_SQL_PARAMETER in bind values HOT 2
- Extremely slow import times on Python 3.12 HOT 9
- [sqlalchemy] execute("select 1") gives TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' HOT 8
- `databricks.sql.connect` hangs in a long retrying loop when an invalid access token is used HOT 3
- Idea: arrow_record_batches cursor method
- SQLAlchemy engine from workspace level service principle?
- Unable to write list/array type data HOT 1
- Issue with version 3.1.1
- Failure on cursor.fetchall() HOT 2
- Fixing a couple type problems. (adding py.typed, typing connect, returning Any from fetchall (which I failed to fix!)) HOT 2
- Connector reads 0 rows although Cluster returned results HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databricks-sql-python.