Files
impala/testdata/data/schemas/nested/nested.json
Taras Bobrovytsky 3c9ceb1a2b Add Parquet nested schemas to testdata
A script is added that generates two parquet files with nested data.
One file has modern nested types encoding and the other one has
legacy encoding. This data will be used for testing nested types
support for "create table like file" statement.

Change-Id: I8a4f64c9f7b3228583f3cb0af5507a9dd4d152ef
Reviewed-on: http://gerrit.cloudera.org:8080/610
Reviewed-by: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Tested-by: Internal Jenkins
2015-08-13 10:25:39 +00:00

23 lines
592 B
JSON

[
{ "t_long": 1,
"t_struct": {
"f_int": 1,
"t_struct": {
"f_int": 1,
"f_int2": 2
},
"int_arr": [1, 2],
"int_map": {"k1": 1}
},
"t_array_basic": [1, 2],
"t_array_struct": [
{"f_int1": 1, "f_int2": 2, "f_int3": 3},
{"f_int1": 1, "f_int2": 2, "f_int3": 3}
],
"t_array_array": [[1, 2], [3, 4]],
"t_array_map": [{"a": 2, "b": 3}, {"a": 2, "b": 3}],
"map_int": {"a": 1, "b": 2},
"map_struct": {"a": {"f_int": 1, "f_int2": 2}, "b": {"f_int": 3, "f_int2": 4}},
"map_array": {"a": [1, 2], "b": [3, 4]},
"map_map": {"a": {"b": 2, "c":4}}}]