hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7146) posexplode() UDTF fails with a NullPointerException on NULL columns
Date Sun, 01 Jun 2014 17:52:01 GMT

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

Ashutosh Chauhan updated HIVE-7146:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Stephen!

> 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
>            Assignee: Stephen Veiss
>            Priority: Minor
>             Fix For: 0.14.0
>
>         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)

Mime
View raw message