[
https://issues.apache.org/jira/browse/IMPALA-7022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476768#comment-16476768
]
ASF subversion and git services commented on IMPALA-7022:
---------------------------------------------------------
Commit fab65d44792f5a5effcb6f26f08c6ad865c4b64a in impala's branch
refs/heads/master from [~boroknagyz]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=fab65d4 ]
IMPALA-7022: TestQueries.test_subquery: Subquery must not return more than one
row
TestQueries.test_subquery sometimes fails during exhaustive
tests.
In the tests we expect to catch an exception that is
prefixed by the "Query aborted:" string. The prefix is
usually added by impala_beeswax.py::wait_for_completion(),
but in rare cases it isn't added.
>From the point of the test it is irrelevant if the exception
is prefixed with "Query aborted:" or not, so I removed it
from the expected exception string.
Change-Id: I3b8655ad273b1dd7a601099f617db609e4a4797b
Reviewed-on: http://gerrit.cloudera.org:8080/10407
Reviewed-by: Tim Armstrong <[email protected]>
Tested-by: Tim Armstrong <[email protected]>
> TestQueries.test_subquery: Subquery must not return more than one row
> ---------------------------------------------------------------------
>
> Key: IMPALA-7022
> URL: https://issues.apache.org/jira/browse/IMPALA-7022
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 2.13.0, Impala 3.1.0
> Reporter: Joe McDonnell
> Assignee: Zoltán Borók-Nagy
> Priority: Blocker
> Labels: broken-build
>
> Seen on master and on 2.x based branches on exhaustive tests:
> {noformat}
> Error Message
> query_test/test_queries.py:102: in test_subquery
> self.run_test_case('QueryTest/subquery', vector)
> common/impala_test_suite.py:408: in run_test_case
> self.__verify_exceptions(test_section['CATCH'], str(e), use_db)
> common/impala_test_suite.py:286: in __verify_exceptions (expected_str,
> actual_str) E AssertionError: Unexpected exception string. Expected: Query
> aborted:Subquery must not return more than one row: SELECT bigint_col FROM
> functional.alltypes_view E Not found in actual: ImpalaBeeswaxException:
> INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'> MESSAGE: Subquery
> must not return more than one row: SELECT bigint_col FROM
> functional.alltypes_view
> Stacktrace
> query_test/test_queries.py:102: in test_subquery
> self.run_test_case('QueryTest/subquery', vector)
> common/impala_test_suite.py:408: in run_test_case
> self.__verify_exceptions(test_section['CATCH'], str(e), use_db)
> common/impala_test_suite.py:286: in __verify_exceptions
> (expected_str, actual_str)
> E AssertionError: Unexpected exception string. Expected: Query
> aborted:Subquery must not return more than one row: SELECT bigint_col FROM
> functional.alltypes_view
> E Not found in actual: ImpalaBeeswaxException: INNER EXCEPTION: <class
> 'beeswaxd.ttypes.BeeswaxException'> MESSAGE: Subquery must not return more
> than one row: SELECT bigint_col FROM functional.alltypes_view{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]