Daniel Becker has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20136 )
Change subject: IMPALA-12238: RandomNestedDataGenerator should take a seed argument ...................................................................... IMPALA-12238: RandomNestedDataGenerator should take a seed argument RandomNestedDataGenerator can be used to produce parquet files with random data from Avro schemas. This change makes it possible to provide a seed value for the random generator so the generated files are reproducible. The seed can be given as the last (optional) command line argument. It is parsed as a Java 'long'. Testing: - manually verified that when run with the same arguments (including the seed), the data generator produces the same results Change-Id: Iee33604bbfe12895100afbd0f98ac302dee9a238 Reviewed-on: http://gerrit.cloudera.org:8080/20136 Reviewed-by: Csaba Ringhofer <[email protected]> Tested-by: Daniel Becker <[email protected]> --- M java/datagenerator/src/main/java/org/apache/impala/datagenerator/RandomNestedDataGenerator.java 1 file changed, 16 insertions(+), 5 deletions(-) Approvals: Csaba Ringhofer: Looks good to me, approved Daniel Becker: Verified -- To view, visit http://gerrit.cloudera.org:8080/20136 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Iee33604bbfe12895100afbd0f98ac302dee9a238 Gerrit-Change-Number: 20136 Gerrit-PatchSet: 2 Gerrit-Owner: Daniel Becker <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Daniel Becker <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
