AllenNeuralDynamics / aind-data-access-api

Library to interface with AIND databases
MIT License
2 stars 0 forks source link

Use redshift_connector #41

Open mekhlakapoor opened 3 months ago

mekhlakapoor commented 3 months ago

User story

Currently, pandas is pinned to be between 2.0. and 2.2 which limits users. As a developer, I want to replace sqlalchemy and psycopg2-binary dependencies with redshift_connector so that we don't need to worry about compatibility of pandas with other dependencies

Acceptance criteria

Sprint Ready Checklist

Notes

Redshift Connector uses S3 as a middle ground. We'll need to create a temp bucket https://stackoverflow.com/questions/76532906/unrecognized-configuration-parameter-standard-conforming-strings-while-queryin https://docs.aws.amazon.com/redshift/latest/mgmt/python-connect-examples.html

Add any helpful notes here.

mekhlakapoor commented 2 months ago

Might be useful package: https://pypi.org/project/awswrangler/