-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix: Don't null on oob in list.get
for column index
#17276
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17276 +/- ##
==========================================
- Coverage 80.89% 80.85% -0.05%
==========================================
Files 1470 1471 +1
Lines 192689 192855 +166
Branches 2750 2750
==========================================
+ Hits 155876 155925 +49
- Misses 36305 36422 +117
Partials 508 508 ☔ View full report in Codecov by Sentry. |
_ => Ok(None), | ||
}) | ||
.collect::<Result<IdxCa, _>>()? | ||
}; |
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.
@ritchie46 there's probably a better way to do this without duplicated code, maybe using something like iter::repeat(true)
in place of the validity map, but my grasp of polars iterators is not up to snuff.
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 think its fine fo rnow. Thanks!
Followup to #17262, closes #17252. Fixes the column idx case.
Added more test coverage.