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

To-array coercion of SQL-style SELECT subqueries #1011

Open
vgapeyev opened this issue Mar 16, 2023 · 0 comments
Open

To-array coercion of SQL-style SELECT subqueries #1011

vgapeyev opened this issue Mar 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@vgapeyev
Copy link
Contributor

To complement #826, implement the situations where a SELECT subquery is coerced into an array rather than a singleton.

It is worthwhile to verify w.r.t. SQL what is the correct semantics here (coerce to the first row vs to the first column).

This will entail defining a built-in function for computing the coercion, as well as naming it. This could also be a good opportunity to weigh what would be good names for this function as well as for COLL_TO_SCALAR -- to best reflect their semantics as well as highlight their similarity. This aspect overlaps with #42.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant