Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/9658#issuecomment-157389650
@marmbrus Did you mean the metadata stored in Parquet key-value user
defined metadata, or the schema metadata in `StructField`? For primitive
JSON/BSON fields, it's a good idea to annotate them in the schema metadata. But
it doesn't cover nested fields, e.g. an array field of JSON/BSON elements.
And for "support for reading these types as strings", are you referring to
`spark.sql.parquet.binaryAsString`? Currently this option only converts
Parquet binaries without any logical type annotations, thus it doesn't cover
`binary (JSON)` or `binary (BSON)`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]