hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pzw (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12861) Built-in time function of hour in hive
Date Wed, 20 Jan 2016 12:55:40 GMT

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

pzw updated HIVE-12861:
-----------------------
    Assignee:     (was: pzw)

> Built-in time function of hour in hive 
> ---------------------------------------
>
>                 Key: HIVE-12861
>                 URL: https://issues.apache.org/jira/browse/HIVE-12861
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: chunyanglu
>
> when to use then Built-in time function of hour in hive ,not return the right result
,for example:
> when we run the hql "select hour('2016-01-13 1313:46:38') from dual", 
> we get 17. But the date string is not satisfid the format "yyyy-mm-dd HH:MM:SS",  if
we don`t regexp this string, what can we do to solve this question?



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

Mime
View raw message