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

Daniel Becker commented on IMPALA-12781:
----------------------------------------

It can also be reproduced within Impala with an existing test table:
{code:java}
select id, arr_contains_nested_struct from collection_struct_mix order by id 
limit 1;{code}

> ARRAY<STRUCT<s: STRING> crashes in top-n
> ----------------------------------------
>
>                 Key: IMPALA-12781
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12781
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>            Reporter: Daniel Becker
>            Assignee: Daniel Becker
>            Priority: Major
>
> In ASAN builds if we sort an array containing a struct of a string with 
> limit, Impala crashes. This is how to reproduce it:
> In Hive:
> {code:java}
> create table su (arr ARRAY<STRUCT<s: STRING>>) stored as parquet;
> insert into su values (array(named_struct("s", "A")));
> {code}
> In Impala:
> {code:java}
> select 1, arr from su order by 1 limit 1{code}
> The ASAN error message indicates a heap-use-after-free.
> Note that this only happens if codegen is enabled.
> h4.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to