-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement flatten
function
#6995
Comments
Let me take a look on this issue. |
That sounds good, @jayzhan211! I only want to warn you that |
For the latter version, it seems the function is implemented in #6796. I will continue on this after that PR merged. |
Is your feature request related to a problem or challenge?
Summary
flatten
Spark SQL: Creates a single array from an array of arrays column.
ClickHouse: Converts an array of arrays to a flat array. Function: Applies to any depth of nested arrays. Does not change arrays that are already flat. The flattened array contains all the elements from all source arrays.
DuckDB: Concatenate a list of lists into a single list. This only flattens one level of the list (see examples).
Examples:
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: