From issues-return-29858-archive-asf-public=cust-asf.ponee.io@carbondata.apache.org Thu Jan 4 13:23:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id DD078180657 for ; Thu, 4 Jan 2018 13:23:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CCA29160C2B; Thu, 4 Jan 2018 12:23:05 +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 ECEE0160C28 for ; Thu, 4 Jan 2018 13:23:04 +0100 (CET) Received: (qmail 71550 invoked by uid 500); 4 Jan 2018 12:23:04 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 71541 invoked by uid 99); 4 Jan 2018 12:23:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2018 12:23:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BB90DC1DD4 for ; Thu, 4 Jan 2018 12:23:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id doYZa9CRMEJQ for ; Thu, 4 Jan 2018 12:23:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 07EDA5F3D0 for ; Thu, 4 Jan 2018 12:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6E0DDE002B for ; Thu, 4 Jan 2018 12:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2E40B240DE for ; Thu, 4 Jan 2018 12:23:00 +0000 (UTC) Date: Thu, 4 Jan 2018 12:23:00 +0000 (UTC) From: "Manish Gupta (JIRA)" To: issues@carbondata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CARBONDATA-1949) DESC formatted command displays sort scope twice 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/CARBONDATA-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manish Gupta resolved CARBONDATA-1949. -------------------------------------- Resolution: Fixed Fix Version/s: 1.3.0 > DESC formatted command displays sort scope twice > ------------------------------------------------ > > Key: CARBONDATA-1949 > URL: https://issues.apache.org/jira/browse/CARBONDATA-1949 > Project: CarbonData > Issue Type: Bug > Components: sql > Affects Versions: 1.3.0 > Environment: spark2.1 > Reporter: Geetika Gupta > Assignee: anubhav tarar > Priority: Minor > Fix For: 1.3.0 > > Time Spent: 2h > Remaining Estimate: 0h > > I created a table using this command: > CREATE TABLE uniqdata_29(CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format'; > when I executed desc formatted uniqdata_29 > It shows the following output: > 0: jdbc:hive2://localhost:10000> desc formatted uniqdata_29; > +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+ > | col_name | data_type | comment | > +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+ > | cust_id | int | MEASURE,null | > | cust_name | string | KEY COLUMN,null | > | active_emui_version | string | KEY COLUMN,null | > | dob | timestamp | KEY COLUMN,null | > | doj | timestamp | KEY COLUMN,null | > | bigint_column1 | bigint | MEASURE,null | > | bigint_column2 | bigint | MEASURE,null | > | decimal_column1 | decimal(30,10) | MEASURE,null | > | decimal_column2 | decimal(36,10) | MEASURE,null | > | double_column1 | double | MEASURE,null | > | double_column2 | double | MEASURE,null | > | integer_column1 | int | MEASURE,null | > | | | | > | ##Detailed Table Information | | | > | Database Name | 28dec | | > | Table Name | uniqdata_29 | | > | CARBON Store Path | hdfs://localhost:54311/opt/carbonStore | | > | Comment | | | > | Table Block Size | 1024 MB | | > | Table Data Size | 101419 | | > | Table Index Size | 1902 | | > | Last Update Time | 1514535776276 | | > | SORT_SCOPE | LOCAL_SORT | LOCAL_SORT | > | Streaming | false | | > | SORT_SCOPE | LOCAL_SORT | LOCAL_SORT | > | | | | > | ##Detailed Column property | | | > | ADAPTIVE | | | > | SORT_COLUMNS | cust_name,active_emui_version,dob,doj | | > +---------------------------------------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------+--+ > 29 rows selected (0.196 seconds) > Here sort_scope is displayed twice -- This message was sent by Atlassian JIRA (v6.4.14#64029)