Taras Bobrovytsky has uploaded a new change for review. http://gerrit.cloudera.org:8080/5787
Change subject: Add nested testdata flattener ...................................................................... Add nested testdata flattener The TableFlattener takes a nested dataset and creates an equivalent unnested dataset. The unnested dataset is saved as Parquet. When an array or map is encountered in the original table, the flattener creates a new table and adds an id column to it which references the row in the parent table. Joining on the id column should produce the original dataset. The flattened dataset should be loaded into Postgres in order to run the query generator (in nested types mode) on it. There is a script that automates generaration, flattening and loading random data into Postgres and Impala: testdata/bin/generate-load-nested.sh -f Change-Id: I7e7a8e53ada9274759a3e2128b97bec292c129c6 --- A testdata/TableFlattener/.gitignore A testdata/TableFlattener/README A testdata/TableFlattener/pom.xml A testdata/TableFlattener/src/main/java/org/apache/impala/infra/tableflattener/FileMigrator.java A testdata/TableFlattener/src/main/java/org/apache/impala/infra/tableflattener/FlattenedSchema.java A testdata/TableFlattener/src/main/java/org/apache/impala/infra/tableflattener/Main.java A testdata/TableFlattener/src/main/java/org/apache/impala/infra/tableflattener/SchemaFlattener.java A testdata/TableFlattener/src/main/java/org/apache/impala/infra/tableflattener/SchemaUtil.java M testdata/bin/generate-load-nested.sh 9 files changed, 854 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/5787/1 -- To view, visit http://gerrit.cloudera.org:8080/5787 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7e7a8e53ada9274759a3e2128b97bec292c129c6 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Taras Bobrovytsky <[email protected]>
