You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "pzw (JIRA)" <ji...@apache.org> on 2016/01/13 13:01:39 UTC

[jira] [Assigned] (HIVE-12861) Built-in time function of hour in hive

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

pzw reassigned HIVE-12861:
--------------------------

    Assignee: 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
>            Assignee: pzw
>
> 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)