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

fix: Support multi-argument version of unnest #3738

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

charithe
Copy link

@charithe charithe commented Dec 6, 2024

Currently, sqlc errors out when it encounters the multi-argument version of the UNNEST function. This is because the function is not marked as variadic. Instead, the argument type is defined as anymultirange.

Fixes #3507

Currently, `sqlc` errors out when it encounters the multi-argument
version of the `UNNEST` function. This is because the function is not
marked as variadic. Instead, the argument type is defined as
[`anymultirange`](https://www.postgresql.org/docs/current/extend-type-system.html#EXTEND-TYPES-POLYMORPHIC).

Fixes sqlc-dev#3507

Signed-off-by: Charith Ellawala <[email protected]>
Signed-off-by: Charith Ellawala <[email protected]>
@charithe
Copy link
Author

charithe commented Dec 6, 2024

Not sure why the managed-db tests fail and how to go about debugging them 🤔

Signed-off-by: Charith Ellawala <[email protected]>
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.

UNNEST can't handle multiple arrays
1 participant