mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
Change-Id: Ia01181a1e10eb108419122d347e9d869a69e8922 Reviewed-on: http://gerrit.ent.cloudera.com:8080/102 Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: Ishaan Joshi <ishaan@cloudera.com>
18 lines
899 B
Bash
Executable File
18 lines
899 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.
|
|
# Due to Hive bugs HIVE-4119 and HIVE-4122, these tables need to be chosen carefully or
|
|
# Hive will either crash or fail with an error when executing the COMPUTE STATS query.
|
|
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
|