mirror of
https://github.com/apache/impala.git
synced 2025-12-30 21:02:41 -05:00
This is the intital commit and is a work in progress. See the README for a
list of possible improvements.
As an overview of how the files are related:
model.py: This is the base upon which the other files are built. It
contains something like a grammer for queries.
query_generator.py: Generates random permutations of the model.
model_translator.py: Produces SQL based on the model
discrepancy_searcher.py: Uses the above to generate, run, and compare
query results.
Change-Id: Iaca6277766f5a86568eaa3f05b99c832942ab38b
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1648
Reviewed-by: Casey Ching <casey@cloudera.com>
Tested-by: Casey Ching <casey@cloudera.com>
18 lines
673 B
Bash
Executable File
18 lines
673 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
|
|
set -e
|
|
set -u
|
|
|
|
echo "Copying data files from the share. If the file already exists locally, the files"\
|
|
"will not be copied. It's not check summing the files or anything like that, if"\
|
|
"you need to force a copy, delete the local directory:"\
|
|
"IMPALA_HOME/testdata/impala-data"
|
|
|
|
# TODO: Waiting on helpdesk ticket (HD-2861) to move this to a better location
|
|
DATASRC="a2226.halxg.cloudera.com:/data/1/workspace/impala-data"
|
|
DATADST=$IMPALA_HOME/testdata/impala-data
|
|
mkdir -p $DATADST
|
|
|
|
scp -i $HOME/.ssh/id_rsa_jenkins -o "StrictHostKeyChecking=no" -r systest@$DATASRC/* $DATADST
|