ARROW-4810: [Format] [C++] Add LargeList type#4969
ARROW-4810: [Format] [C++] Add LargeList type#4969pitrou wants to merge 1 commit intoapache:masterfrom
Conversation
87bb90a to
ca91e2f
Compare
cpp/src/arrow/array.cc
Outdated
There was a problem hiding this comment.
You might want to check someplace that the offset buffer has the expected size?
There was a problem hiding this comment.
It's done in ValidateArray (well, it checks it has at least the required size)
cpp/src/arrow/array-list-test.cc
Outdated
There was a problem hiding this comment.
Because testing a list type with int32 values while offsets are also int32 is not gonna catch some possible sources of errors.
cpp/src/arrow/array.cc
Outdated
There was a problem hiding this comment.
That implies it's an Array type. I can call it TypeClass if you want.
There was a problem hiding this comment.
I think it is OK for now.
cpp/src/arrow/extension_type.h
Outdated
There was a problem hiding this comment.
this change seems unrelated?
There was a problem hiding this comment.
No, I added type_name() to all instantiable type classes. The motivation is to allow producing nice error messages even when you don't have a DataType instance, only class (for example in a concrete type-templated function).
cpp/src/arrow/type.h
Outdated
There was a problem hiding this comment.
Could this limit people that want to extend the code base in the future?
There was a problem hiding this comment.
I don't know, why would it?
There was a problem hiding this comment.
if name() actually had to contain non-trivial logic? I wonder why it had this signature to begin with.
There was a problem hiding this comment.
I don't think the name() function is important. It's been around since the beginning of the project but I don't see it used much
Codecov Report
@@ Coverage Diff @@
## master #4969 +/- ##
==========================================
- Coverage 87.98% 87.56% -0.42%
==========================================
Files 910 1000 +90
Lines 133521 142570 +9049
Branches 1418 1418
==========================================
+ Hits 117483 124848 +7365
- Misses 16028 17360 +1332
- Partials 10 362 +352
Continue to review full report at Codecov.
|
|
Note to self, old proof of concept for java 03956ca |
ca91e2f to
a1d93b2
Compare
|
+1, thank you |
No description provided.