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

Support array / list types in postgresql.to_sql #2964

Open
m1hawkgsm opened this issue Sep 17, 2024 · 0 comments
Open

Support array / list types in postgresql.to_sql #2964

m1hawkgsm opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request needs-triage

Comments

@m1hawkgsm
Copy link

Is your idea related to a problem? Please describe.
I frequently use AWS SDK for Pandas in moving data between Postgres RDS instances. Recently, I had an issue where, reading a table from a source database with a varchar[] column, I could not write it using postgresql.to_sql()

Upon checking the code, I see that in here, you don't support arrays, even though apparently dictionaries (I guess JSON?) types are fine?

Any reason why that's the case?

Describe the solution you'd like
Ideally, arrays are handled normally (it's a valid PyArrow Type).

P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.

@m1hawkgsm m1hawkgsm added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant