-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for SQL explode / unnest function #212
Comments
Is there any prior art / existing design documents for this either in the DataFusion repo or an application that uses DataFusion? We're interested in getting this working for splitgraph/seafowl#137. In particular:
We could take a stab at implementing this, either as a PR to DataFusion or as a separate crate with planner nodes/optimizer rules. I did some digging into how PostgreSQL implements this and it seems like there are two positions for a set-returning function/UNNEST (which is implemented as a set-returning function in PG): Inside the
|
This feature would really make this awesome project more usable. Are there any plans to add it? |
Yes really looking forward for this feature. |
I have created PR #5106 that adds support for unnest to
I can try to add support to the SQL parser in another PR. |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I would like to be able to expand an array into rows.
Describe the solution you'd like
See
unnest
in https://www.postgresql.org/docs/current/functions-array.htmlDescribe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: