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 0ADA8200BFE for ; Mon, 16 Jan 2017 12:13:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 096C7160B22; Mon, 16 Jan 2017 11:13:32 +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 50F97160B30 for ; Mon, 16 Jan 2017 12:13:31 +0100 (CET) Received: (qmail 40969 invoked by uid 500); 16 Jan 2017 11:13:30 -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 40960 invoked by uid 99); 16 Jan 2017 11:13:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2017 11:13:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 07E90180031 for ; Mon, 16 Jan 2017 11:13:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Qk7GwRgcU1by for ; Mon, 16 Jan 2017 11:13:29 +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 7784B5F5D3 for ; Mon, 16 Jan 2017 11:13:28 +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 B50A4E1370 for ; Mon, 16 Jan 2017 11:13:27 +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 6330D25284 for ; Mon, 16 Jan 2017 11:13:26 +0000 (UTC) Date: Mon, 16 Jan 2017 11:13:26 +0000 (UTC) From: "anubhav tarar (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CARBONDATA-598) Not using tableName option in Create table command Shows Strange Behaviour MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 Jan 2017 11:13:32 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] anubhav tarar updated CARBONDATA-598: ------------------------------------- Description: if you dont use the tableName Option when creating table with Bucketing it shows strange behaviour and do not validate any check here are the logs spark.sql("""CREATE TABLE t3qqqq219(ID Int)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1","bucketcolumns"="id","tableName"="t3q21000")"""); here file t3q21000 get created in hdfs which should not be created it is quite confusing either there should be a check that both table name in create table statement and tableName in Option both are same and if it is allowed it should valid all the checks was: if you dont use the tableName Option when creating table with Bucketing it shows strange behaviour and do not validate any check here are the logs spark.sql("""CREATE TABLE t3qqqq219(ID Int)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1","bucketcolumns"="id","tableName"="t3q21000")"""); here file t3q21000 get created in hdfs which should not be created either there should be a check that both table name in create table statement and tableName in Option both are same and if it is allowed it should valid all the checks > Not using tableName option in Create table command Shows Strange Behaviour > --------------------------------------------------------------------------- > > Key: CARBONDATA-598 > URL: https://issues.apache.org/jira/browse/CARBONDATA-598 > Project: CarbonData > Issue Type: Bug > Components: spark-integration > Affects Versions: 1.0.0-incubating > Environment: cluster > Reporter: anubhav tarar > Assignee: Naresh P R > > if you dont use the tableName Option when creating table with Bucketing it shows strange behaviour and do not validate any check > here are the logs > spark.sql("""CREATE TABLE t3qqqq219(ID Int)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1","bucketcolumns"="id","tableName"="t3q21000")"""); > here file t3q21000 get created in hdfs > which should not be created it is quite confusing > either there should be a check that both table name in create table statement and tableName in Option both are same and if it is allowed it should valid all the checks -- This message was sent by Atlassian JIRA (v6.3.4#6332)