[
https://issues.apache.org/jira/browse/IMPALA-11296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563507#comment-17563507
]
Quanlong Huang commented on IMPALA-11296:
-----------------------------------------
This bug happens when
* there are more columns in the table schema than the underlying ORC file
schema,
* and the query {color:#FF0000}only{color} select the missing columns (new
columns).
Here are steps to reproduce the bug:
{code:sql}
impala> create table orc_tbl (f0 int) stored as orc;
hive> insert into table orc_tbl select 1;
impala> refresh orc_tbl;
impala> alter table orc_tbl add columns(f1 int);
impala> select f1 from orc_tbl;
{code}
The query will hang forever.
Without this fix, the workaround is regenerating the ORC files when table
schema change.
> The executor has some resident threads that occupy CPU abnormally.
> ------------------------------------------------------------------
>
> Key: IMPALA-11296
> URL: https://issues.apache.org/jira/browse/IMPALA-11296
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 3.4.0
> Reporter: zhi tang
> Assignee: zhi tang
> Priority: Critical
> Fix For: Impala 3.4.2
>
> Attachments: image-2022-05-17-16-40-52-110.png, top_info.png
>
>
> The executor has some resident threads that occupy CPU abnormally. The
> following is the call stack information of a thread:
> !image-2022-05-17-16-40-52-110.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]