mirror of
https://github.com/apache/impala.git
synced 2025-12-26 14:02:53 -05:00
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.
15 lines
470 B
SQL
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';
|