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

Clarify docs that SlicesIterator ignores null values #1504

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Mar 29, 2022

Which issue does this PR close?

N/A

Rationale for this change

There is a bug in datafusion that I think is due to a mistaken assumption that SlicesIterator would respect the null / validity mas: apache/datafusion#2117

What changes are included in this PR?

Update docs of SlicesIterator to be clear that it ignores null masks

Are there any user-facing changes?

better docs

@alamb alamb added the documentation Improvements or additions to documentation label Mar 29, 2022
Copy link
Contributor Author

@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.

FYI @yjshen and @tustvold

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 29, 2022
Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

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

I'd almost be tempted to panic if given a BooleanArray that contains a null mask... 🤔

Co-authored-by: Yijie Shen <henry.yijieshen@gmail.com>
@alamb alamb merged commit d797543 into apache:master Mar 30, 2022
@alamb alamb deleted the alamb/update_docs branch March 30, 2022 20:05
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 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants