-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arrow_json
: support binary
deserialization
#4945
Comments
So if I understand correctly you are reading binary data from a parquet file and are trying to write it to JSON? Unfortunately JSON does not define a mechanism to transport binary data, you have two common options:
|
In my example, the Here is an example of |
Arrow supports WKB, but JSON would only support WKT |
|
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I have a bunch of parquet files that contain a binary column, here is the schema:
The
geometry
column is binary. Here is my struct:However, it failed to deserialize the parquet data with
arrow::json::writer::record_batches_to_json_rows()
, here is the error:Describe the solution you'd like
arrow_json
should support deserialize binary toVec<u8>
.The text was updated successfully, but these errors were encountered: