Folyd opened a new issue, #4945:
URL: https://github.com/apache/arrow-rs/issues/4945
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
<!--
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
-->
I have a bunch of parquet files that contain a binary column, here is the
schema:
```sql
CREATE EXTERNAL TABLE `buildings`(
`id` string,
`updateTime` string,
`version` int,
`names` string,
`level` int,
`height` double,
`geometry` binary
)
```
The `geometry` column is binary. Here is my struct:
```rust
#[derive(Deserialize)]
struct Building {
// omit for brevity ...
#[serde(default)]
geometry: Vec<u8>,
}
```
However, it failed to deserialize the parquet data with
`arrow::json::writer::record_batches_to_json_rows()`, here is the error:
```
Error: Json error: data type Binary not supported in nested map for json
writer
```
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
`serde_json` should support deserialize binary to `Vec<u8>`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]