Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 629AF200B32 for ; Thu, 9 Jun 2016 04:25:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 612CF160A54; Thu, 9 Jun 2016 02:25:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D6EFB160A2E for ; Thu, 9 Jun 2016 04:25:21 +0200 (CEST) Received: (qmail 20165 invoked by uid 500); 9 Jun 2016 02:25:21 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 20104 invoked by uid 99); 9 Jun 2016 02:25:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 02:25:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ED9AB2C14F8 for ; Thu, 9 Jun 2016 02:25:20 +0000 (UTC) Date: Thu, 9 Jun 2016 02:25:20 +0000 (UTC) From: "Lefty Leverenz (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13248) Change date_add/date_sub/to_date functions to return Date type rather than String MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Jun 2016 02:25:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-13248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lefty Leverenz updated HIVE-13248: ---------------------------------- Labels: TODOC2.1 (was: TODOC2.2) > 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 > Labels: TODOC2.1 > Fix For: 2.1.0 > > 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)