You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Stephen Veiss (JIRA)" <ji...@apache.org> on 2014/05/29 23:17:01 UTC

[jira] [Updated] (HIVE-7146) posexplode() UDTF fails with a NullPointerException on NULL columns

     [ https://issues.apache.org/jira/browse/HIVE-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Veiss updated HIVE-7146:
--------------------------------

    Attachment: HIVE-7146.patch

Minor patch for review. Thank you!

> posexplode() UDTF fails with a NullPointerException on NULL columns
> -------------------------------------------------------------------
>
>                 Key: HIVE-7146
>                 URL: https://issues.apache.org/jira/browse/HIVE-7146
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Stephen Veiss
>         Attachments: HIVE-7146.patch
>
>
> posexplode() fails with a NullPointerException in GenericUDTFPosExplode.process if run against a column containing NULL values. 
> explode() has a null check covering this case. I've attached a patch adding the equivalent check to posexplode(), and updating the test case to include a NULL value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)