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-11063: [Rust] [Breaking] Validate null counts when building arrays #9041

Closed
wants to merge 1 commit into from

Conversation

nevi-me
Copy link
Contributor

@nevi-me nevi-me commented Dec 29, 2020

Removes the null_count() function, forcing the builder to always validate the null count.

This breaks existing code that provides null counts, with the required action being to remove that code.

Removes the null_count() function, forcing the builder to always validate the null count
@github-actions
Copy link

Copy link
Member

@jorgecarleitao jorgecarleitao left a comment

Choose a reason for hiding this comment

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

The idea is good, and the code looks good. Thanks @nevi-me !

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.

This also looks good to me -- nice work @nevi-me !

@alamb alamb closed this in 30ce2eb Dec 29, 2020
@nevi-me
Copy link
Contributor Author

nevi-me commented Dec 29, 2020

There's a rustfmt lint that's failed on my CI run, I didn't see it till now. I'm using those new macbooks while I'm away from home, so I don't have the stable toolchain yet.

May someone who works on the next PR, fix the error for me :)

@nevi-me nevi-me deleted the ARROW-11063 branch December 29, 2020 23:34
@mqy
Copy link
Contributor

mqy commented Dec 30, 2020

@nevi-me format in this way should avoid the problem

I have fixed it in #9025

Also I'm thinking about add cargo +nightly-2020-11-24-x86_64 fmt to pre-commit.sh

@alamb
Copy link
Contributor

alamb commented Dec 30, 2020

🤦 Sorry @nevi-me -- I also have a PR here to fix it: #9046

I think it is blocking other PRs so I will merge #9046 as soon as it is green. cc @mqy -- thank you

GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
Removes the null_count() function, forcing the builder to always validate the null count.

This breaks existing code that provides null counts, with the required action being to remove that code.

Closes apache#9041 from nevi-me/ARROW-11063

Authored-by: Neville Dipale <nevilledips@gmail.com>
Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants