-
Notifications
You must be signed in to change notification settings - Fork 29k
[MINOR][SQL] Improve the comments about null tracking for UnsafeRow #37340
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
Conversation
|
what's wrong with "null bit set"? A bit set for null tracking. |
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don't particularly find this confusing too
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java
Outdated
Show resolved
Hide resolved
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also not sure if this is an improvement or not, but I feel new sentence looks like becoming repeating itself a little.
The null-tracking portion is used for null tracking
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's not a big deal, let's merge this for @beliefer and move on to more important PRs. :)
sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/UnsafeRow.java
Outdated
Show resolved
Hide resolved
a7d94db to
d91c561
Compare
…ssions/UnsafeRow.java Co-authored-by: Wenchen Fan <[email protected]>
e0500c2 to
65f30b2
Compare
…ssions/UnsafeRow.java Co-authored-by: Wenchen Fan <[email protected]>
|
thank, merging to master! |
|
@cloud-fan @dongjoon-hyun @HyukjinKwon Thank you ! |
What changes were proposed in this pull request?
This PR expect to improve the comments about null tracking for
UnsafeRow.The old comment of
UnsafeRowhave confused text[null bit set].In fact, the portion is a lot of bit or bit array which does't always be null.
On the other hand, it tell users nothing. we need the information more clear.
Why are the changes needed?
Improve the comments about null tracking for
UnsafeRow.Does this PR introduce any user-facing change?
'No'.
Just update comments.
How was this patch tested?
N/A