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

feat: support maps in MutableArrayData #1379

Merged
merged 1 commit into from Mar 3, 2022
Merged

Conversation

helgikrs
Copy link
Contributor

@helgikrs helgikrs commented Mar 2, 2022

Which issue does this PR close?

Closes #1378.

Rationale for this change

Filter uses MutableArrayData internally. So this change allows the use of filter on record batches and arrays containing maps.

Additionally, this allows the use fo `filter` on record batches and
arrays containing maps.
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @helgikrs --

I filed some follow on tickets as well for remaining unsupported types: #1393 #1394

_ => {
todo!("Take and filter operations still not supported for this datatype")
ty => {
todo!("Take and filter operations still not supported for this datatype: `{:?}`", ty)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for also improving the error messages

@alamb alamb merged commit 97c1ca3 into apache:master Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support MapArray in filter kernel
2 participants