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

Arrow selection functions #7

Open
2 tasks
wjones127 opened this issue Jul 13, 2024 · 0 comments
Open
2 tasks

Arrow selection functions #7

wjones127 opened this issue Jul 13, 2024 · 0 comments

Comments

@wjones127
Copy link
Collaborator

  • Get object field
  • Get array element

Should likely offer two variants:

  1. get_variant_field_zc: Return BinaryViewArray so we can re-use the original buffer. This is can be used when the user will immediately use a cast method to extract data.
  2. get_variant_field: Return BinaryArray so we can drop the original buffer and keep the narrowed values. This can be used when the original variant data is no longer needed but we will be passing the variant selection to another step.

In DataFusion, we can add an optimization rule to decide which of these to use.

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

No branches or pull requests

1 participant