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 80788200C24 for ; Thu, 9 Feb 2017 05:36:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7F238160B67; Thu, 9 Feb 2017 04:36:49 +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 C8922160B49 for ; Thu, 9 Feb 2017 05:36:48 +0100 (CET) Received: (qmail 41674 invoked by uid 500); 9 Feb 2017 04:36:48 -0000 Mailing-List: contact issues-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list issues@carbondata.incubator.apache.org Received: (qmail 41665 invoked by uid 99); 9 Feb 2017 04:36:47 -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, 09 Feb 2017 04:36:47 +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 5E427C26C6 for ; Thu, 9 Feb 2017 04:36:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id LjCd1E7ayiq7 for ; Thu, 9 Feb 2017 04:36:46 +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 370F45F24C for ; Thu, 9 Feb 2017 04:36:46 +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 0798DE044B for ; Thu, 9 Feb 2017 04:36:41 +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 A315B21D62 for ; Thu, 9 Feb 2017 04:36:41 +0000 (UTC) Date: Thu, 9 Feb 2017 04:36:41 +0000 (UTC) From: "anubhav tarar (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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: Thu, 09 Feb 2017 04:36:49 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] anubhav tarar updated CARBONDATA-698: ------------------------------------- Affects Version/s: 1.0.0-incubating Request participants: (was: ) > 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, 1.0.1-incubating > Environment: spark1.6,2.1 > Reporter: anubhav tarar > Priority: Trivial > Time Spent: 50m > 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)