Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

fix: slice values in list to fixed-size list cast #1544

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

orlp
Copy link
Contributor

@orlp orlp commented Aug 16, 2023

This issue was encountered in pola-rs/polars#10533. In the ListArray to FixedSizeListArray cast the values slice is never actually sliced to the offset range.

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% ⚠️

Comparison is base (c1446fb) 83.45% compared to head (fa624ed) 83.44%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1544      +/-   ##
==========================================
- Coverage   83.45%   83.44%   -0.01%     
==========================================
  Files         388      388              
  Lines       42142    42146       +4     
==========================================
+ Hits        35168    35170       +2     
- Misses       6974     6976       +2     
Files Changed Coverage Δ
src/compute/cast/mod.rs 90.71% <100.00%> (+0.05%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@orlp
Copy link
Contributor Author

orlp commented Aug 17, 2023

@ritchie46 Could you merge this?

@ritchie46
Copy link
Collaborator

Yes!

@ritchie46 ritchie46 merged commit 7edf5f9 into jorgecarleitao:main Aug 19, 2023
25 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants