Skip to content

Handle PG columns with arrays with 0 dimensions correctly#616

Merged
JelteF merged 1 commit intomainfrom
fix-array-problems
Feb 21, 2025
Merged

Handle PG columns with arrays with 0 dimensions correctly#616
JelteF merged 1 commit intomainfrom
fix-array-problems

Conversation

@JelteF
Copy link
Copy Markdown
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
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