-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
Codecov Report
@@ Coverage Diff @@
## main #930 +/- ##
==========================================
- Coverage 71.53% 71.49% -0.05%
==========================================
Files 355 357 +2
Lines 19607 19688 +81
==========================================
+ Hits 14026 14076 +50
- Misses 5581 5612 +31
Continue to review full report at Codecov.
|
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.
Thank you, @ncpenke , looks great!
I left some comments as I think we can simplify the scalar further due to the observation that Union
does not have a validity - values are always valid.
src/array/union/mod.rs
Outdated
@@ -296,6 +293,13 @@ impl Array for UnionArray { | |||
None | |||
} | |||
|
|||
fn is_valid(&self, index: usize) -> bool { |
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.
is this necessary? A union does not have a "validity". I could not find where this was being used.
@jorgecarleitao Latest changes with your feedback - thanks! |
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.
Looks awesome, super clean and easy to follow.
Thanks a lot. Left a minor documentation suggestion.
Co-authored-by: Jorge Leitao <[email protected]>
No description provided.