Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C47810CD8 for ; Mon, 23 Dec 2013 20:56:51 +0000 (UTC) Received: (qmail 30760 invoked by uid 500); 23 Dec 2013 20:56:50 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 30673 invoked by uid 500); 23 Dec 2013 20:56:50 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 30609 invoked by uid 500); 23 Dec 2013 20:56:50 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 30589 invoked by uid 99); 23 Dec 2013 20:56:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 20:56:50 +0000 Date: Mon, 23 Dec 2013 20:56:50 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6046) add UDF for converting date time from one presentation to another MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855925#comment-13855925 ] Hive QA commented on HIVE-6046: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12620249/hive-6046.patch {color:green}SUCCESS:{color} +1 4814 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/735/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/735/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12620249 > add UDF for converting date time from one presentation to another > ------------------------------------------------------------------ > > Key: HIVE-6046 > URL: https://issues.apache.org/jira/browse/HIVE-6046 > Project: Hive > Issue Type: New Feature > Components: UDF > Affects Versions: 0.13.0 > Reporter: Kostiantyn Kudriavtsev > Attachments: hive-6046.patch > > > it'd be nice to have function for converting datetime to different formats, for example: > format_date('2013-12-12 00:00:00.0', 'yyyy-MM-dd HH:mm:ss.S', 'yyyy/MM/dd') > There are two signatures to facilitate further using: > format_date(datetime, fromFormat, toFormat) > format_date(timestamp, toFormat) > -- This message was sent by Atlassian JIRA (v6.1.5#6160)