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

David Phillips commented on HIVE-2540:
--------------------------------------

The bug is related to outputting the input array.  For example, both of these 
work correctly:

{code}
select x.b from foo lateral view explode(a) x as b;
select size(a), x.b from foo lateral view explode(a) x as b;
{code}

                
> LATERAL VIEW with EXPLODE produces ConcurrentModificationException
> ------------------------------------------------------------------
>
>                 Key: HIVE-2540
>                 URL: https://issues.apache.org/jira/browse/HIVE-2540
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.1
>            Reporter: David Phillips
>
> The following produces {{ConcurrentModificationException}} on the {{for}} 
> loop inside EXPLODE:
> {code}
> create table foo as select array(1, 2) a from src limit 1;
> select a, x.b from foo lateral view explode(a) x as b;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to