Riza Suminto has uploaded this change for review. (
http://gerrit.cloudera.org:8080/18545
Change subject: IMPALA-11306: Create symlink for dataset of scale factor 1
......................................................................
IMPALA-11306: Create symlink for dataset of scale factor 1
single_node_perf_run.py and load-data.py can fail if user set scale
factor argument 1. This is because generate-schema-statements.py will
insert the scale factor into the database name (ie., "tpch1"), but the
preload script omit the scale factor when creating dataset
directory (ie., "tpch"). This patch fix the issue by additionally
creating symlink for scale factor 1.
Testing:
- Manual test by running the following script:
./bin/load-data.py --scale_factor=1 --workloads=targeted-perf \
--table_formats=text/none/none
Change-Id: I76c9c90b243df6213626e11652cfed59643aed2c
---
M testdata/datasets/tpcds/preload
M testdata/datasets/tpch/preload
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/45/18545/1
--
To view, visit http://gerrit.cloudera.org:8080/18545
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I76c9c90b243df6213626e11652cfed59643aed2c
Gerrit-Change-Number: 18545
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <[email protected]>