Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
Consider a complex type that has a binary field/item. For example:
struct<field:binary>
In sink operators, the struct is encoded as a JSON string, but its binary field is directly appended to the JSON string when encoded, which often breaks downstream JSON parsers.
Can we encode binary data within a complex type into base64 strings and quote them up like normal strings? This helps JSON parsers to work properly with binary data.
Attachments
Issue Links
- relates to
-
HIVE-26454 BINARY types within complex types are not quoted
- Open