-
-
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
refactor(rust): Move cast from polars-arrow to polars-compute #19967
refactor(rust): Move cast from polars-arrow to polars-compute #19967
Conversation
]; | ||
let array = Utf8Array::<i64>::from_slice(values); | ||
|
||
let out = utf8_to_utf8view(&array); | ||
// Ensure we hit the multiple buffers part. | ||
assert_eq!(out.buffers().len(), 6); | ||
assert_eq!(out.data_buffers().len(), 4); |
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.
this runs under cfg(test)
which makes the OffsetType
an i8
not sure how we ended up with 6 buffers before - I've left some working out above in comments
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19967 +/- ##
==========================================
- Coverage 79.46% 79.46% -0.01%
==========================================
Files 1555 1556 +1
Lines 216322 216339 +17
Branches 2456 2456
==========================================
Hits 171911 171911
- Misses 43853 43870 +17
Partials 558 558 ☔ View full report in Codecov by Sentry. |
This needs to be moved first before we can move the gather kernels