mirror of
https://github.com/apache/impala.git
synced 2026-01-22 18:02:34 -05:00
Modified the insert testfiles to get which database they need to use for 'CREATE TABLE LIKE' dynamically. Tests: Did targeted exhaustive testruns in test_insert.py and test_mt_dop.py and did a full exhaustive testrun. Change-Id: Ib3c7ba02190f57a7ed40311c95a3dd9eca9b474d Reviewed-on: http://gerrit.cloudera.org:8080/15816 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Csaba Ringhofer <csringhofer@cloudera.com>
19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
====
|
|
---- QUERY
|
|
create table alltypesinsert like $ORIGINAL_DB.alltypesinsert;
|
|
====
|
|
---- QUERY
|
|
# Check that hdfs writers respects mem_limit. mem_limit is tuned for a 3-node HDFS
|
|
# minicluster.
|
|
truncate alltypesinsert;
|
|
set mem_limit=64m;
|
|
insert into table alltypesinsert
|
|
partition (year, month) /* +noclustered */
|
|
select at1.id, at1.bool_col, at1.tinyint_col, at1.smallint_col, at1.int_col, at1.bigint_col,
|
|
at1.float_col, at1.double_col, at1.date_string_col, at1.string_col, at1.timestamp_col,
|
|
at1.year, at2.id as month
|
|
from functional.alltypes at1, functional.alltypes at2;
|
|
---- CATCH
|
|
Memory limit exceeded
|
|
====
|