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

Jason Dere updated HIVE-9592:
-----------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0
           Status: Resolved  (was: Patch Available)

Committed to trunk, thanks Alex

> fix ArrayIndexOutOfBoundsException in date_add and date_sub initialize
> ----------------------------------------------------------------------
>
>                 Key: HIVE-9592
>                 URL: https://issues.apache.org/jira/browse/HIVE-9592
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9592.1.patch
>
>
> {code}
> hive> select date_add('2015-01-01', map(1,1));
> FAILED: ArrayIndexOutOfBoundsException 2
> hive> select date_sub('2015-01-01', map(1,1));
> FAILED: ArrayIndexOutOfBoundsException 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to