Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
item = [ ('a', 1), ('b', 2) ] ty = pa.struct([ pa.field('a', type=pa.int8()), pa.field('b', type=pa.float64()) ]) pa.array([item], type=ty)
raises
ArrowTypeError: Could not convert [('a', 1), ('b', 2)] with type list: was not a dict, tuple, or recognized null value for conversion to struct type
This feature is required for pa.repeat(scalar, n) roundtrip if the type contains duplicated field names.
Attachments
Issue Links
- is fixed by
-
ARROW-9992 [C++][Python] Refactor python to arrow conversions based on a reusable conversion API
- Resolved