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 AC76A200C73 for ; Wed, 10 May 2017 09:41:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB5BD160BC6; Wed, 10 May 2017 07:41:08 +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 F2C2C160BA8 for ; Wed, 10 May 2017 09:41:07 +0200 (CEST) Received: (qmail 46699 invoked by uid 500); 10 May 2017 07:41:07 -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 46690 invoked by uid 99); 10 May 2017 07:41:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 07:41:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id ADF91C0EA2 for ; Wed, 10 May 2017 07:41:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id B-8_2a8lOYCC for ; Wed, 10 May 2017 07:41:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 280225F642 for ; Wed, 10 May 2017 07:41:05 +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 66B64E002A for ; Wed, 10 May 2017 07:41:04 +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 268FA21DF5 for ; Wed, 10 May 2017 07:41:04 +0000 (UTC) Date: Wed, 10 May 2017 07:41:04 +0000 (UTC) From: "Ravindra Pesala (JIRA)" To: issues@carbondata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CARBONDATA-698) no_inverted_index is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 May 2017 07:41:08 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravindra Pesala resolved CARBONDATA-698. ---------------------------------------- Resolution: Duplicate > no_inverted_index is not working > -------------------------------- > > Key: CARBONDATA-698 > URL: https://issues.apache.org/jira/browse/CARBONDATA-698 > Project: CarbonData > Issue Type: Bug > Components: spark-integration > Affects Versions: 1.0.0-incubating > Environment: spark1.6,2.1 > Reporter: anubhav tarar > Assignee: anubhav tarar > Priority: Trivial > Time Spent: 1.5h > Remaining Estimate: 0h > > i am creating no_inverted_index with invalid values using both spark 1.6 and 2.1 and it works > spark 2.1 logs > 0: jdbc:hive2://localhost:10000> DROP TABLE IF EXISTS productSalesTable; > +---------+--+ > | Result | > +---------+--+ > +---------+--+ > No rows selected (3.621 seconds) > 0: jdbc:hive2://localhost:10000> CREATE TABLE productSalesTable( productNumber Int, productName String, storeCity String, storeProvince String, productCategory String, productBatch String, saleQuantity Int, revenue Int) STORED BY 'carbondata' TBLPROPERTIES ('COLUMN_GROUPS'='( productName)','DICTIONARY_INCLUDE'='productName', 'NO_INVERTED_INDEX'='1'); > spark 1.6 logs > cc.sql("DROP TABLE IF EXISTS productSalesTable").show(); > cc.sql("""CREATE TABLE productSalesTable( productNumber Int, productName String, storeCity String, storeProvince String, productCategory String, productBatch String, saleQuantity Int, revenue Int) STORED BY 'carbondata' TBLPROPERTIES ('COLUMN_GROUPS'='( productName)','DICTIONARY_INCLUDE'='productName', 'NO_INVERTED_INDEX'='1')""").show() > AUDIT 07-02 15:48:14,485 - [knoldus][knoldus][Thread-1]Creating Table with Database name [default] and Table name [productsalestable] > AUDIT 07-02 15:48:14,868 - [knoldus][knoldus][Thread-1]Table created with Database name [default] and Table name [productsalestable] > while debugging the code i found out in carbon ddl sql parser tablePropertiess map contain the properties in lower case > and we are checking tableProperties.get("NO_INVERTED_INDEX") > so it is failing due to string mismatch -- This message was sent by Atlassian JIRA (v6.3.15#6346)