-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
ARROW-11082: [Rust] C data interface to largeUTF8 #9054
Conversation
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. |
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.
One small suggestion
rust/arrow/src/ffi.rs
Outdated
@@ -624,10 +650,10 @@ mod tests { | |||
} | |||
// case with nulls is tested in the docs, through the example on this module. | |||
|
|||
#[test] | |||
fn test_string() -> Result<()> { | |||
fn test_genetic_string<Offset: StringOffsetSizeTrait>() -> Result<()> { |
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.
fn test_genetic_string<Offset: StringOffsetSizeTrait>() -> Result<()> { | |
fn test_generic_string<Offset: StringOffsetSizeTrait>() -> Result<()> { |
} | ||
|
||
#[test] | ||
fn test_bool() -> Result<()> { |
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.
nice and neat :)
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
This also simplifies some code and adds a test for the boolean case, which is special due to bit-packing. Closes apache#9054 from jorgecarleitao/ffi_large_string Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com> Signed-off-by: Neville Dipale <nevilledips@gmail.com>
This also simplifies some code and adds a test for the boolean case, which is special due to bit-packing.