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 08ED9200B76 for ; Mon, 25 Jul 2016 23:33:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07C2A160A7D; Mon, 25 Jul 2016 21:33:23 +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 5D8F0160A91 for ; Mon, 25 Jul 2016 23:33:22 +0200 (CEST) Received: (qmail 7884 invoked by uid 500); 25 Jul 2016 21:33: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 7863 invoked by uid 99); 25 Jul 2016 21:33:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2016 21:33:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5FDD12C0D5F for ; Mon, 25 Jul 2016 21:33:21 +0000 (UTC) Date: Mon, 25 Jul 2016 21:33:21 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13422) Analyse command not working for column having datatype as decimal(38,0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 25 Jul 2016 21:33:23 -0000 [ https://issues.apache.org/jira/browse/HIVE-13422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-13422: ------------------------------------ Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Pushed to master. Thanks, Thomas! > Analyse command not working for column having datatype as decimal(38,0) > ----------------------------------------------------------------------- > > Key: HIVE-13422 > URL: https://issues.apache.org/jira/browse/HIVE-13422 > Project: Hive > Issue Type: Bug > Components: Hive, Statistics > Affects Versions: 1.1.0 > Reporter: ashim sinha > Assignee: Thomas Friedrich > Fix For: 2.2.0 > > Attachments: HIVE-13422.patch > > > For the repro > {code} > drop table sample_test; > CREATE TABLE IF NOT EXISTS sample_test( key decimal(38,0),b int ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; > load data local inpath '/home/hive/analyse.txt' into table sample_test; > ANALYZE TABLE sample_test COMPUTE STATISTICS FOR COLUMNS; > {code} > Sample data > {code} > 20234567894567498250824983000004 0 > 50320807548878498250695083000004 0 > 40120807548878498250687183000004 0 > 20120807548878498250667783000004 0 > 40120807548878496250656783000004 0 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)