You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Sailesh Mukil (JIRA)" <ji...@apache.org> on 2018/08/01 02:29:00 UTC

[jira] [Commented] (IMPALA-7378) test_strict_mode failed on an ASAN build: expected "Error converting column: 5 to DOUBLE"

    [ https://issues.apache.org/jira/browse/IMPALA-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564645#comment-16564645 ] 

Sailesh Mukil commented on IMPALA-7378:
---------------------------------------

[~poojanilangekar] When you say the coordinator completed the query, do you mean that it completed it successfully? If it did, then what I mention below _might_ be happening.

Certain queries can complete before all the fragment instances have finished running. This is because the coordinator might have received enough row(s) to send back to the client. Meanwhile, some fragment instances may continue running since they're unaware that the query has completed. So, the coordinator will send a Cancel() RPC which will stop those fragment instances eventually.
Example queries where this happens all the time are LIMIT queries.

It may be the case that the coordinator finished the query successfully from its point of view, but then a fragment instance unaware of the query completion hit IMPALA-7335 (or some error).

So, to summarize, even though the query may have completed successfully, you may have hit an error, and the completion of the query may have nothing to do with that.

> test_strict_mode failed on an ASAN build: expected "Error converting column: 5 to DOUBLE"
> -----------------------------------------------------------------------------------------
>
>                 Key: IMPALA-7378
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7378
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.1.0
>            Reporter: David Knupp
>            Assignee: Tim Armstrong
>            Priority: Critical
>              Labels: broken-build
>
> *Stacktrace*
> {noformat}
> query_test/test_queries.py:159: in test_strict_mode
>     self.run_test_case('QueryTest/strict-mode-abort', vector)
> common/impala_test_suite.py:420: in run_test_case
>     assert False, "Expected exception: %s" % expected_str
> E   AssertionError: Expected exception: Error converting column: 5 to DOUBLE
> {noformat}
> *Standard Error*
> {noformat}
> -- executing against localhost:21000
> use functional;
> SET strict_mode=1;
> SET batch_size=0;
> SET num_nodes=0;
> SET disable_codegen_rows_threshold=0;
> SET disable_codegen=False;
> SET abort_on_error=0;
> SET exec_single_node_rows_threshold=0;
> -- executing against localhost:21000
> select * from overflow;
> -- executing against localhost:21000
> use functional;
> SET strict_mode=1;
> SET batch_size=0;
> SET num_nodes=0;
> SET disable_codegen_rows_threshold=0;
> SET disable_codegen=False;
> SET abort_on_error=1;
> SET exec_single_node_rows_threshold=0;
> -- executing against localhost:21000
> select tinyint_col from overflow;
> -- executing against localhost:21000
> select smallint_col from overflow;
> -- executing against localhost:21000
> select int_col from overflow;
> -- executing against localhost:21000
> select bigint_col from overflow;
> -- executing against localhost:21000
> select float_col from overflow;
> -- executing against localhost:21000
> select double_col from overflow;
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org