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 BECA810ADA for ; Mon, 19 Jan 2015 22:00:34 +0000 (UTC) Received: (qmail 7121 invoked by uid 500); 19 Jan 2015 22:00:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 7060 invoked by uid 500); 19 Jan 2015 22:00:36 -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 7048 invoked by uid 500); 19 Jan 2015 22:00:36 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 7045 invoked by uid 99); 19 Jan 2015 22:00:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2015 22:00:36 +0000 Date: Mon, 19 Jan 2015 22:00:36 +0000 (UTC) From: "Jason Dere (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5472) support a simple scalar which returns the current timestamp 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-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283065#comment-14283065 ] Jason Dere commented on HIVE-5472: ---------------------------------- test failures do not appear to be related > support a simple scalar which returns the current timestamp > ----------------------------------------------------------- > > Key: HIVE-5472 > URL: https://issues.apache.org/jira/browse/HIVE-5472 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.11.0 > Reporter: N Campbell > Assignee: Jason Dere > Attachments: HIVE-5472.1.patch, HIVE-5472.2.patch > > > ISO-SQL has two forms of functions > local and current timestamp where the former is a TIMESTAMP WITHOUT TIMEZONE and the latter with TIME ZONE > select cast ( unix_timestamp() as timestamp ) from T > implement a function which computes LOCAL TIMESTAMP which would be the current timestamp for the users session time zone. -- This message was sent by Atlassian JIRA (v6.3.4#6332)