Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.0.0
-
None
-
None
Description
When applying pyarrow.array() to a list of dict, the dict keys are reordered in ascending order.
Because of this I cannot preserve the original parquet data schema when doing transformations from py to arrow.
Is the key reordering the intended behaviour ?
Is there an existing workaround ?
Eg.
x = [ \{'z': '', 'y': {'b': '', 'a': ''}} ]
y = pyarrow.array( x )
print( y )
print(y.to_pylist())