mirror of
https://github.com/apache/impala.git
synced 2025-12-30 12:02:10 -05:00
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
23 lines
592 B
JSON
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}}}]
|