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

Support GetArrayStructFields #992

Closed
Kimahriman opened this issue Oct 2, 2024 · 0 comments · Fixed by #993
Closed

Support GetArrayStructFields #992

Kimahriman opened this issue Oct 2, 2024 · 0 comments · Fixed by #993
Labels
enhancement New feature or request

Comments

@Kimahriman
Copy link
Contributor

What is the problem the feature request solves?

The last support for struct and array extraction is the GetArrayStructFields expression, which is an optimization to select a nested struct field inside an array of structs, which turns into an array of the inner field type.

Describe the potential solution

Create a custom physical expression to support this. Datafusion doesn't currently support this, but it can be implemented very efficiently with the way arrow lists and structs are setup.

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant