Repository: incubator-impala
Updated Branches:
  refs/heads/master 6b5f9cf0f -> b251fb061


IMPALA-4004: Don't access nested types in test_failpoints.py

As part of fixing IMPALA-3692, the query in test_failpoints.py was
updated to have a predicate on a string column in a parquet table.
The update to the query was based on the failing query in the bug
which happens to access nested columns. Apparently, this doesn't
quite work with the legacy join and agg.

This change fixes the test to also work with legacy join and agg.
With the debug actions added in the fix of IMPALA-3692, it's not
necessary to access nested types to reproduce the problem as long
as there is a predicate on a string column.

Change-Id: Idc5e67b9748a13fcd76ea5fe140e2e6b18e809b7
Reviewed-on: http://gerrit.cloudera.org:8080/4074
Reviewed-by: Alex Behm <[email protected]>
Tested-by: Internal Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/b251fb06
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/b251fb06
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/b251fb06

Branch: refs/heads/master
Commit: b251fb0615d2bcdaade93a5d939c7ab6bc64960c
Parents: 6b5f9cf
Author: Michael Ho <[email protected]>
Authored: Sat Aug 20 20:33:57 2016 -0700
Committer: Internal Jenkins <[email protected]>
Committed: Sun Aug 21 23:39:34 2016 +0000

----------------------------------------------------------------------
 tests/failure/test_failpoints.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b251fb06/tests/failure/test_failpoints.py
----------------------------------------------------------------------
diff --git a/tests/failure/test_failpoints.py b/tests/failure/test_failpoints.py
index 6eac663..1468f79 100644
--- a/tests/failure/test_failpoints.py
+++ b/tests/failure/test_failpoints.py
@@ -38,8 +38,8 @@ FAILPOINT_ACTION_MAP = {'FAIL': 'FAIL', 'CANCEL': 'WAIT',
 # The goal of this query is to use all of the node types.
 # TODO: This query could be simplified a bit...
 QUERY = """
-select a.int_col, count(b.int_col) int_sum, count(l.l_shipdate)
-from functional_hbase.alltypesagg a, tpch_nested_parquet.customer c, 
c.c_orders.o_lineitems l
+select a.int_col, count(b.int_col) int_sum, count(c.c_name)
+from functional_hbase.alltypesagg a, tpch_parquet.customer c
 join
   (select * from alltypes
    where year=2009 and month=1 order by int_col limit 2500

Reply via email to