[ 
https://issues.apache.org/jira/browse/HIVE-15338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715919#comment-15715919
 ] 

Matt McCline commented on HIVE-15338:
-------------------------------------

Dropping the new timestamp stuff from Q file:

{code}
  datediff(fl_date, timestamp "2007-03-14 00:00:00"),
  datediff(fl_date, timestamp "2007-03-14 08:21:59")
{code}

and creating a separate issue.



> Wrong result from vectorized DATEDIFF with scalar parameter of type DATE
> ------------------------------------------------------------------------
>
>                 Key: HIVE-15338
>                 URL: https://issues.apache.org/jira/browse/HIVE-15338
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-15338.01.patch
>
>
> Vectorization in vectorized DATEDIFF when parameter is (date '12-01-16', 
> column). Jason noted that ('12-01-16', column) treats the first parameter as 
> a string and is a different case.
> Current Q file test vectorized_date_funcs.q DOES NOT test the date scalar 
> type case.



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

Reply via email to