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

Alexander Pivovarov updated HIVE-9592:
--------------------------------------
    Attachment: HIVE-9592.1.patch

patch #1

> 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
>         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