Replies: 1 comment 2 replies
-
I agree this will not be possible to represent as a ListArray in arryw One possibility is to write your own JSON --> Arrow converter and hook it in as a TableProvider. While this might not be as easy/fast as the one in arrow-rs / DataFusion it would be very flexible. You could map your JSON into either a Struct with fields like
Or maybe a map array for name/value pairs which is something like
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have to parse a JSON structure consisting of an array containing a tuple with a string and a Float64.
Ex:
I have been trying to use a list object but it seems that entails that all the elements of the list have the same data type.
Do you have any idea if it is possible to parse something like this? I have years of historical data, so I won't be able to easily change the JSON structure, even though I am aware these object are not the best possible way to write json.
Beta Was this translation helpful? Give feedback.
All reactions