Files
impala/testdata/bin/compute-table-stats.sh
Alex Behm c6397ca1e3 Revert "Revert to FROM-clause order if any table is lacking stats."
This reverts commit 7e84cbe3bab9bf30a57ac58d9ef525ebc10a7b7a.

Change-Id: I89d55ca2bcb8eb6eddc244d3e7b005074d04c26a
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1104
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
2014-01-08 10:54:29 -08:00

17 lines
797 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
# Runs compute table stats over the Impala test tables.
#
set -e
set -u
# Run compute stats over as many of the tables used in the Planner tests as possible.
python ${IMPALA_HOME}/tests/util/compute_table_stats.py --db_names=functional\
--table_names="alltypes,alltypesagg,alltypesaggmultifilesnopart,alltypesaggnonulls,
alltypessmall,alltypestiny,jointbl,dimtbl"
python ${IMPALA_HOME}/tests/util/compute_table_stats.py --db_name=functional_hbase\
--table_names="alltypessmall,stringids"
python ${IMPALA_HOME}/tests/util/compute_table_stats.py --db_names=tpch \
--table_names=customer,lineitem,nation,orders,part,partsupp,region,supplier
python ${IMPALA_HOME}/tests/util/compute_table_stats.py --db_names=tpcds