Skip to content

ARROW-11082: [Rust] C data interface to largeUTF8 - #9054

Closed
jorgecarleitao wants to merge 2 commits into
apache:masterfrom
jorgecarleitao:ffi_large_string
Closed

ARROW-11082: [Rust] C data interface to largeUTF8#9054
jorgecarleitao wants to merge 2 commits into
apache:masterfrom
jorgecarleitao:ffi_large_string

Conversation

@jorgecarleitao

Copy link
Copy Markdown
Member

This also simplifies some code and adds a test for the boolean case, which is special due to bit-packing.

@github-actions

Copy link
Copy Markdown

@alamb

Copy link
Copy Markdown
Contributor

The full set of Rust CI tests did not run on this PR :(

Can you please rebase this PR against apache/master to pick up the changes in #9056 so that they do?

I apologize for the inconvenience.

@nevi-menevi-me left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One small suggestion

Comment threadrust/arrow/src/ffi.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
fntest_genetic_string<Offset:StringOffsetSizeTrait>() -> Result<()>{
fntest_generic_string<Offset:StringOffsetSizeTrait>() -> Result<()>{

Comment threadrust/arrow/src/ffi.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice and neat :)

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #9054 (3695980) into master (51672b2) will increase coverage by 0.01%.
The diff coverage is 85.29%.

Impacted file tree graph

@@ Coverage Diff @@## master #9054 +/- ##
==========================================
+ Coverage 82.61% 82.62% +0.01% 
==========================================
Files 202 202 Lines 50048 50068 +20 ==========================================
+ Hits 41347 41370 +23 + Misses 8701 8698 -3 
Impacted FilesCoverage Δ
rust/arrow/src/ffi.rs72.45% <83.33%> (+2.17%)⬆️
rust/arrow/src/array/array_string.rs90.05% <100.00%> (-0.22%)⬇️
rust/arrow/src/array/transform/mod.rs88.93% <0.00%> (+0.73%)⬆️

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 51672b2...3695980. Read the comment docs.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jorgecarleitao@alamb@codecov-io@nevi-me