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

Handle PG columns with arrays with 0 dimensions correctly #616

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

JelteF
Copy link
Collaborator

@JelteF JelteF commented Feb 19, 2025

As was found in #556 sometimes array columns in Postgres are listed to have 0 dimensions, that's obviously because of missing information. This PR starts assuming that those arrays have a single dimension (because single dimension arrays are the most common type).

Given that that guess can obviously be wrong too. This adds the limitations that our multi-dimensional array support currently has in our docs.

Fixes #556

@JelteF JelteF added this to the 0.4.0 milestone Feb 19, 2025
@JelteF JelteF requested review from Y-- and mkaruza February 21, 2025 14:26
@JelteF JelteF merged commit ff3ba8c into main Feb 21, 2025
5 checks passed
@JelteF JelteF deleted the fix-array-problems branch February 21, 2025 14:42
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.

Incorrect result from DuckDB execution
2 participants