You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kamil Mroczek (Commented) (JIRA)" <ji...@apache.org> on 2012/04/13 19:30:22 UTC

[jira] [Commented] (HIVE-2540) LATERAL VIEW with EXPLODE produces ConcurrentModificationException

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

Kamil Mroczek commented on HIVE-2540:
-------------------------------------

I am getting the same error.  It seems to work when the array has one element, but as soon as more than one is added this error appears.
                
> 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