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

Ning Zhang updated HIVE-1614:
-----------------------------

    Attachment: HIVE-1614.2.patch

Added a catch for all throwable in the UDFT.

> UDTF json_tuple should return null row when input is not a valid JSON string
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-1614
>                 URL: https://issues.apache.org/jira/browse/HIVE-1614
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1614.2.patch, HIVE-1614.patch
>
>
> If the input column is not a valid JSON string, json_tuple will not return 
> anything but this will prevent the downstream operators to access the 
> left-hand side table. We should output a NULL row instead, similar to when 
> the input column is a NULL value. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to