hive-issues 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-20385) Date: date + int fails to add days
Date Sat, 13 Oct 2018 16:33:00 GMT

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

Ashutosh Chauhan updated HIVE-20385:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Bruno!

> Date: date + int fails to add days
> ----------------------------------
>
>                 Key: HIVE-20385
>                 URL: https://issues.apache.org/jira/browse/HIVE-20385
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>    Affects Versions: 4.0.0
>            Reporter: Gopal V
>            Assignee: Bruno Pusztahazi
>            Priority: Minor
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20385.1.patch, HIVE-20385.2.patch, HIVE-20385.3.patch, HIVE-20385.4.patch,
HIVE-20385.5.patch, HIVE-20385.6.patch
>
>
> {code}
> select current_date + 5;
> FAILED: SemanticException [Error 10014]: Line 1:7 Wrong arguments '5': No matching method
for class org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPDTIPlus with (date, int)
> {code}
> This works in Postgres 9.6 - http://sqlfiddle.com/#!17/9eecb/19253/0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message