rizaon opened a new pull request #1025:
URL: https://github.com/apache/orc/pull/1025
### What changes were proposed in this pull request?
This patch add support to convert json to UNION type in orc file. For
example, for schema `struct<foo:uniontype<int,string>>`, the following
json lines can be parsed into UNION type.
```
{"foo": {"tag": 0, "value": 1}}
{"foo": {"tag": 1, "value": "testing"}}
{"foo": {"tag": 0, "value": 3}}
```
### Why are the changes needed?
This add a missing support for UNION type in java convert tool.
### How was this patch tested?
Manually test against handcrafted json file.
--
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]