mirror of
https://github.com/apache/impala.git
synced 2026-01-22 09:01:58 -05:00
Moved a number of tests with tuned mem_limits. In some cases this required separating the tests from non-tuned functional tests. TestQueryMemLimit used very high and very low limits only, so seemed safe to run in all configurations. Change-Id: I9686195a29dde2d87b19ef8bb0e93e08f8bee662 Reviewed-on: http://gerrit.cloudera.org:8080/10370 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
17 lines
555 B
Plaintext
17 lines
555 B
Plaintext
====
|
|
---- QUERY
|
|
# Check that hdfs writers respects mem_limit. mem_limit is tuned for a 3-node HDFS
|
|
# minicluster.
|
|
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;
|
|
---- SETUP
|
|
DROP PARTITIONS alltypesinsert
|
|
---- CATCH
|
|
Memory limit exceeded
|
|
====
|