datadudes / json2hive

Generate Hive CREATE TABLE statements from json data
10 stars 5 forks source link

Fails to generate field definitions for schemas who's attributes have multiple types #3

Open imperialguy opened 6 years ago

imperialguy commented 6 years ago

This library fails for the schemas which have a type that could be either an array, string or a null.

Example:

"type": [
                        "null",
                        "object",
                        "string"
                    ],