Skip to content
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

Fixing sqlalchemy deprecation error #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

The-Alchemist
Copy link

No description provided.

@The-Alchemist The-Alchemist force-pushed the remove.sqlalchemy.deprecation.error branch from 7f5e696 to 2ec744d Compare July 29, 2019 16:28
elukey added a commit to elukey/PyHive that referenced this pull request Feb 20, 2020
Calls to the reflecttable() method are complaining about the absence of
resolve_fks when sqlalchemy>=1.3.0 is used.
'Binary' is deprecated. Replacing it with 'LargeBinary' to incorporate
changes in pull request dropbox#293.

issue dropbox#288
@elukey elukey mentioned this pull request Feb 20, 2020
bkyryliuk pushed a commit that referenced this pull request Feb 21, 2020
* Fix CI errors reported

Travis is currently reporting some errors:
1) sqlalchemy 1.3 seems to have introduced a new positional arg called resolve_fks
   for reflect, that causes CI to fail when sqlalchemy installed by pypi is greater
   than 1.2.8. It seems out of scope to migrate PyHive to sqlalchemy 1.3.0, so I just
   added some safeguards in setup.py and travis config to avoid the new version.
2) urllib.util.parse_url seems to refuse to parse http://localhost:99999, raising an
   exception that is not the one expected in the test. Fixed the port with 9999.
3) WAITING_FOR_RESOURCES, QUEUED can be states of a Presto query, add them to the test.

Issue #288

* Bump sqlalchemy dependencies to 1.3.0

Calls to the reflecttable() method are complaining about the absence of
resolve_fks when sqlalchemy>=1.3.0 is used.
'Binary' is deprecated. Replacing it with 'LargeBinary' to incorporate
changes in pull request #293.

issue #288
@CLAassistant
Copy link

CLAassistant commented Apr 16, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants