[
https://issues.apache.org/jira/browse/IMPALA-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565643#comment-16565643
]
Pooja Nilangekar commented on IMPALA-7378:
------------------------------------------
What you're saying makes sense but this query does not have a LIMIT set.
After looking at the logs again, I found this:
{code:java}
I0731 00:29:39.699682 21769 status.cc:125] Error converting column: 5 to DOUBLE
@ 0x21b7427
@ 0x174b3d4
@ 0x240e95b
@ 0x240e35b
@ 0x7f0f9fcb0fdf
@ 0x246a591
@ 0x246bdbc
@ 0x246d679
@ 0x2406a3d
@ 0x23c53d9
@ 0x23c453a
@ 0x1c36217
@ 0x22bf02f
@ 0x22ca229
@ 0x22ca07c
@ 0x382bfba
@ 0x7f14626f2e25
@ 0x7f146220934d
I0731 00:29:39.699967 21769 runtime-state.cc:196] Error from query
e24a80e1fe3e3c50:5a6af8000000000: Error parsing row: file:
hdfs://localhost:20500/test-warehouse/overflow/overflow.txt, before offset: 454
I0731 00:29:39.700215 21769 hdfs-scan-node.cc:435] Scan node (id=0) ran into a
parse error for scan range
hdfs://localhost:20500/test-warehouse/overflow/overflow.txt(0:454). Processed
454 bytes.
I0731 00:29:39.853749 21631 query-state.cc:403] Instance completed.
instance_id=e24a80e1fe3e3c50:5a6af8000000001 #in-flight=37 status=OK
I0731 00:29:39.853906 21631 query-exec-mgr.cc:155] ReleaseQueryState():
query_id=e24a80e1fe3e3c50:5a6af8000000000 refcnt=1
{code}
Since the error is logged by RuntimeState, it will be returned by the
HdfsScanNode. Then I am not sure how the QueryState's ExecFInstance returns
status ok (this is logged at line 403).
> 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: [email protected]
For additional commands, e-mail: [email protected]