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 C7085200BD0 for ; Wed, 30 Nov 2016 20:18:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C5C9E160B21; Wed, 30 Nov 2016 19:18:00 +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 46C5A160B06 for ; Wed, 30 Nov 2016 20:18:00 +0100 (CET) Received: (qmail 5352 invoked by uid 500); 30 Nov 2016 19:17:59 -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 5325 invoked by uid 99); 30 Nov 2016 19:17:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 19:17:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5E9CB2C03DB for ; Wed, 30 Nov 2016 19:17:59 +0000 (UTC) Date: Wed, 30 Nov 2016 19:17:59 +0000 (UTC) From: "Chinna Rao Lalam (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14582) Add trunc(numeric) udf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Nov 2016 19:18:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-14582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chinna Rao Lalam updated HIVE-14582: ------------------------------------ Status: Patch Available (was: Open) Hi [~ashutoshc], Thanks for the review. I have referred round() and bround() functions, which accepts scale argument as constant. Now trunc() function is updated to accept scale argument as constant or non-constant. Please take a look at patch. > Add trunc(numeric) udf > ---------------------- > > Key: HIVE-14582 > URL: https://issues.apache.org/jira/browse/HIVE-14582 > Project: Hive > Issue Type: Sub-task > Components: SQL > Reporter: Ashutosh Chauhan > Assignee: Chinna Rao Lalam > Attachments: HIVE-14582.1.patch, HIVE-14582.2.patch, HIVE-14582.3.patch, HIVE-14582.4.patch, HIVE-14582.patch > > > https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions200.htm -- This message was sent by Atlassian JIRA (v6.3.4#6332)