Files
impala/testdata/bin/create-mini.sql
Henry Robinson 32e230b256 Shell scripts to start, load and kill a mini dfs cluster.
mvn -Pload_testdata ... from fe/ will run a three-node,
single-process HDFS cluster loaded with data from
AllTypesAgg in /impala-dist-test.

A Hive table over this data is created as AllTypesAggMini.
2012-01-30 17:32:12 -08:00

15 lines
470 B
SQL

DROP TABLE IF EXISTS AllTypesAggMini;
-- Note no partitioning, because data already loaded into non-partitioned dirs
CREATE EXTERNAL TABLE AllTypesAggMini (
id int,
bool_col boolean,
tinyint_col tinyint,
smallint_col smallint,
int_col int,
bigint_col bigint,
float_col float,
double_col double,
date_string_col string,
string_col string)
row format delimited fields terminated by ',' escaped by '\\' stored as textfile location '/impala-dist-test';