mirror of
https://github.com/apache/impala.git
synced 2026-02-02 15:00:38 -05:00
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 <csringhofer@cloudera.com> Tested-by: Daniel Becker <daniel.becker@cloudera.com>