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

Latest PyAthena no longer compatible with SQLAlchemy 1.4 #526

Closed
jasonamyers opened this issue Mar 18, 2024 · 0 comments
Closed

Latest PyAthena no longer compatible with SQLAlchemy 1.4 #526

jasonamyers opened this issue Mar 18, 2024 · 0 comments

Comments

@jasonamyers
Copy link
Contributor

    from pyathena.sqlalchemy.base import AthenaDialect
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/Users/jasonmyers/.virtualenvs/health/lib/python3.10/site-packages/ddtrace/internal/module.py", line 192, in _exec_module
    self.loader.exec_module(module)
  File "/Users/jasonmyers/.virtualenvs/health/lib/python3.10/site-packages/pyathena/sqlalchemy/base.py", line 358, in <module>
    "double": types.DOUBLE,
AttributeError: module 'sqlalchemy.types' has no attribute 'DOUBLE'

SQLAlchemy 1.4 doesn't have a DOUBLE in the types module.

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

No branches or pull requests

1 participant