ARROW-3794 [R]: Consider mapping INT8 to integer() not raw()#4507
ARROW-3794 [R]: Consider mapping INT8 to integer() not raw()#4507romainfrancois wants to merge 3 commits intoapache:masterfrom
Conversation
|
Not sure about the first thing, perhaps raw vectors should just be converted to int32 arrays ? |
Codecov Report
@@ Coverage Diff @@
## master #4507 +/- ##
===========================================
- Coverage 88.11% 75.11% -13.01%
===========================================
Files 850 54 -796
Lines 105774 3110 -102664
Branches 1253 0 -1253
===========================================
- Hits 93203 2336 -90867
+ Misses 12326 774 -11552
+ Partials 245 0 -245
Continue to review full report at Codecov.
|
|
The original concern that int8 map to integer seems addressed here, but i'm wondering if uint8 is most appropriate for raw. Why not the binary type that Javier mentioned in the ticket? http://arrow.apache.org/docs/format/Metadata.html#utf8-and-binary |
|
That does not look like the same thing to me. |
|
Alright, LGTM |
uint8 arrays are converted to integer vectors
…nnecessary changes
1cff5d7 to
19ff70b
Compare
R vectors of raw types are converted to arrays of type uint8
but otoh, arrays of type uint8 are converted to R integer vectors.
Created on 2019-06-10 by the reprex package (v0.3.0.9000)