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

[FEA] GroupBy on an arbitrary nested array(with struct/array inside) #5109

Open
viadea opened this issue Mar 31, 2022 · 1 comment
Open

[FEA] GroupBy on an arbitrary nested array(with struct/array inside) #5109

viadea opened this issue Mar 31, 2022 · 1 comment
Labels
cudf_dependency An issue or PR with this label depends on a new feature in cudf feature request New feature or request

Comments

@viadea
Copy link
Collaborator

viadea commented Mar 31, 2022

I wish we can support GroupBy on an arbitrary nested array(with struct/array inside).
For example, the column could be very complex like inside the struct, there is array, struct nested as well.

The sample query:

SELECT a_nested_struct_col FROM table
GROUP BY request.a_nested_struct_col  limit 3

The not-supported-message could be like:

!Expression <KnownFloatingPointNormalized> knownfloatingpointnormalized(if (... (StructType(StructField(a,DoubleType,true), StructField(b,StringType,true),  StructField(c,LongType,true), StructField(d,ArrayType(LongType,true),true)) is not supported); expression KnownFloatingPointNormalized knownfloatingpointnormalized(...

The real use case has a very complex array column which has nested struct/array inside.
If you need the real example, please ping me offline.

@viadea viadea added feature request New feature or request ? - Needs Triage Need team to review and classify labels Mar 31, 2022
@viadea viadea changed the title [FEA] GroupBy on an arbitrary nested struct [FEA] GroupBy on an arbitrary nested array(with struct/array inside) Mar 31, 2022
@mattahrens mattahrens added cudf_dependency An issue or PR with this label depends on a new feature in cudf and removed ? - Needs Triage Need team to review and classify labels Apr 5, 2022
@ttnghia
Copy link
Collaborator

ttnghia commented Nov 30, 2022

A recently merged cudf PR enables GroupBy with array:

However, supporting arbitrary nested array needs to wait for:

While waiting for thes issues, if necessary then we can support non-nested array GroupBy first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf_dependency An issue or PR with this label depends on a new feature in cudf feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants