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

Remove un-needed unsafe #756

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Remove un-needed unsafe #756

merged 1 commit into from
Jan 11, 2022

Conversation

jorgecarleitao
Copy link
Owner

No description provided.

@jorgecarleitao jorgecarleitao added the enhancement An improvement to an existing feature label Jan 11, 2022
@codecov
Copy link

codecov bot commented Jan 11, 2022

Codecov Report

Merging #756 (7ff9545) into main (019b117) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #756      +/-   ##
==========================================
- Coverage   70.80%   70.79%   -0.02%     
==========================================
  Files         313      313              
  Lines       16930    17180     +250     
==========================================
+ Hits        11988    12163     +175     
- Misses       4942     5017      +75     
Impacted Files Coverage Δ
src/compute/cast/mod.rs 93.89% <100.00%> (-0.03%) ⬇️
src/compute/cast/utf8_to.rs 89.55% <100.00%> (+0.15%) ⬆️
src/compute/aggregate/min_max.rs 65.55% <0.00%> (-1.12%) ⬇️
src/compute/comparison/mod.rs 38.82% <0.00%> (-0.72%) ⬇️
src/compute/nullif.rs 0.00% <0.00%> (ø)
src/compute/comparison/primitive.rs 100.00% <0.00%> (ø)
src/io/avro/read/schema.rs 55.91% <0.00%> (+1.07%) ⬆️
src/io/json/read/infer_schema.rs 86.98% <0.00%> (+6.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 019b117...7ff9545. Read the comment docs.

@jorgecarleitao jorgecarleitao merged commit 79bb05c into main Jan 11, 2022
@jorgecarleitao jorgecarleitao deleted the unsafeless branch January 11, 2022 19:52
let offsets = offsets.iter().map(|x| *x as i64);
let offets = Buffer::from_trusted_len_iter(offsets);
let offets = array
.offsets()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let offets = array

would be ?

let offsets = array

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants