Uh oh!
There was an error while loading. Please reload this page.
ARROW-6000: [Python] Add support for LargeString and LargeBinary types - #4927
ARROW-6000: [Python] Add support for LargeString and LargeBinary types #4927pitrou wants to merge 2 commits into
Conversation
kszucs
commented
Jul 24, 2019
@ursabot build |
3bdd5c9 to
63b4dfaComparecodecov-io
commented
Jul 29, 2019
Codecov Report
@@ Coverage Diff @@## master #4927 +/- ##
==========================================
+ Coverage 87.5% 87.93% +0.43%
==========================================
Files 998 908 -90 Lines 141869 133088 -8781 Branches 1418 1418 ==========================================
- Hits 124139 117036 -7103 + Misses 17368 16042 -1326 + Partials 362 10 -352
Continue to review full report at Codecov.
|
63b4dfa to
022173eCompare022173e to
aaf009eCompareaaf009e to
9672ca4Comparepitrou
commented
Jul 30, 2019
pitrou
commented
Jul 31, 2019
@jorisvandenbossche Want to take a look? |
jorisvandenbossche
commented
Jul 31, 2019
Yes, was planning to do that, thanks for the ping! I played a bit with the branch (mainly with large_string), some things I noticed (to be clear: I suppose most of them are expected to not yet working, so not wanting to say they should be fixed in this PR, but some items might be worth JIRA issues):
Will take a look at the actual code now. |
Ok, some answers:
|
jorisvandenbossche
commented
Jul 31, 2019
Ah, I see you already opened https://issues.apache.org/jira/browse/ARROW-6071 for the casting yesterday
Yes, that's something I could look into. |
jorisvandenbossche
left a comment
There was a problem hiding this comment.
I already went through the python part (need to run now), which looks good.
| Create large variable-length binary type | ||
| This data type may not be supported by all Arrow implementations. Unless | ||
| you need to represent data larger than 2GB, you should prefer binary(). |
There was a problem hiding this comment.
should we clarify this is about the total size of a single array?
There was a problem hiding this comment.
Ah, forget, a single value bigger than 2GB of course implies an array that is bigger than 2GB .. ;), so the distinction does not matter much.
pitrou
commented
Jul 31, 2019
Ok, I've pushed a fix for the |
pitrou
commented
Aug 1, 2019
Will merge soon if no more comments. |
| public: | ||
| static constexpr Type::type type_id = Type::STRING; | ||
| static constexpr bool is_utf8 = true; | ||
| using EquivalentBinaryType = BinaryType; |
jorisvandenbossche
commented
Aug 2, 2019
Have to see a bit with my priorities, but at least created an issue for it: https://issues.apache.org/jira/browse/ARROW-6115 |
Also fix a bug in Take / Filter for large binary types.