-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Updates for python 3.10, using collections.Iterable
as an example
#421
Comments
Can confirm that an environment with Python 3.10 breaks the code, which is working in Python 3.7.11 |
As mentioned, the issue with
I should really just PR this (not sure they are being accepted since unsupported?), but for those in need of a quick fix, you can just monkey patch this particular problem with this: collections.Iterable = collections.abc.Iterable I know PyHive is unsupported. I'm just using the escaping functions to supplement some |
[Off topic] I saw some recommended https://github.com/cloudera/impyla as an alternative. It seems that they provided a similar interface (DB API). I have not tried using it though. |
collections.Iterable
as an examplecollections.Iterable
as an example
Why is this not fixed for so long? |
Addressed in #451 |
System Info:
Logs:
This is because
collections.Iterable
is deprecated and we should usecollections.abc.Iterable
instead.In fact, there has always been an
DeprecationWarning
in place:Are there any plans for a code review for such updates?
The text was updated successfully, but these errors were encountered: