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

SQLAlchemy + Map Types #553

Open
Duncan-Hunter opened this issue Jul 12, 2024 · 1 comment
Open

SQLAlchemy + Map Types #553

Duncan-Hunter opened this issue Jul 12, 2024 · 1 comment

Comments

@Duncan-Hunter
Copy link

Hi,

Do you have any advice on working with Map Types and SQLAlchemy ORM? Is this possible with PyAthena at the moment?

Thanks,

Duncan

@laughingman7743
Copy link
Owner

laughingman7743 commented Jul 12, 2024

https://github.com/laughingman7743/PyAthena/blob/master/tests/pyathena/sqlalchemy/test_base.py#L277
The current implementation does not support the Map type, so it is handled as a string type. If there is any reference for implementation, it may be possible to implement it in a way that ORM supports.

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

2 participants