hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13248) Change date_add/date_sub/to_date functions to return Date type rather than String
Date Fri, 03 Jun 2016 13:43:59 GMT

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

Gopal V commented on HIVE-13248:
--------------------------------

list_bucket_dml seems to be a diff mismatch 

{code}
235c235
< Skewed Value to Truncated Path:	{[466, val_466]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=466/col4=val_466,
[287, val_287]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=287/col4=val_287, [82, val_82]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=82/col4=val_82}
 
---
> Skewed Value to Truncated Path:	{[466, val_466]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=466/col4=val_466,
[82, val_82]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=82/col4=val_82, [287, val_287]=/list_bucketing_mul_col/ds=2008-04-08/hr=11/col2=287/col4=val_287}
 
{code}

The order of printing is different [466, 287, 82] vs [466, 82, 287]

> Change date_add/date_sub/to_date functions to return Date type rather than String
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-13248
>                 URL: https://issues.apache.org/jira/browse/HIVE-13248
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-13248.1.patch, HIVE-13248.2.patch, HIVE-13248.3.patch, HIVE-13248.4.patch
>
>
> Some of the original "date" related functions return string values rather than Date values,
because they were created before the Date type existed in Hive. We can try to change these
to return Date in the 2.x line.
> Date values should be implicitly convertible to String.



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

Mime
View raw message