You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Daniel Becker (Jira)" <ji...@apache.org> on 2024/01/29 10:33:00 UTC

[jira] [Created] (IMPALA-12763) Union with string struct crashes in ASAN

Daniel Becker created IMPALA-12763:
--------------------------------------

             Summary: Union with string struct crashes in ASAN
                 Key: IMPALA-12763
                 URL: https://issues.apache.org/jira/browse/IMPALA-12763
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Daniel Becker


In ASAN builds if we UNION ALL an array containing a struct of a string with itself 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
  union all select 2, arr from su;{code}
The ASAN error message indicates a heap-use-after-free.



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