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 ECEC8200C26 for ; Fri, 10 Feb 2017 08:05:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EBB3C160B5B; Fri, 10 Feb 2017 07:05:45 +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 458F0160B5C for ; Fri, 10 Feb 2017 08:05:45 +0100 (CET) Received: (qmail 63250 invoked by uid 500); 10 Feb 2017 07:05:44 -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 63241 invoked by uid 99); 10 Feb 2017 07:05:44 -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; Fri, 10 Feb 2017 07:05:44 +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 BB93E180B10 for ; Fri, 10 Feb 2017 07:05:43 +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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6a6Gb4eWNU0G for ; Fri, 10 Feb 2017 07:05:42 +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 8BEA05F647 for ; Fri, 10 Feb 2017 07:05:42 +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 0A854E031F for ; Fri, 10 Feb 2017 07:05:42 +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 B23CA21D66 for ; Fri, 10 Feb 2017 07:05:41 +0000 (UTC) Date: Fri, 10 Feb 2017 07:05:41 +0000 (UTC) From: "Vinod Rohilla (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CARBONDATA-689) User unable to create table using another database with carbon source. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Feb 2017 07:05:46 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Rohilla closed CARBONDATA-689. ------------------------------------ Resolution: Fixed > User unable to create table using another database with carbon source. > ---------------------------------------------------------------------- > > Key: CARBONDATA-689 > URL: https://issues.apache.org/jira/browse/CARBONDATA-689 > Project: CarbonData > Issue Type: Bug > Components: spark-integration > Affects Versions: 1.0.0-incubating > Environment: Spark 2.1 > Reporter: Vinod Rohilla > Priority: Trivial > Attachments: Screenshots.png > > > I try to create the table in default database it was successfully created successfully and showing same in HDFS but when I create a new database(vinod) and inside I try to create the same table then as per the log it's created successfully but the table does not exist in HDFS(under vinod database). > Steps to Reproduces: > 1: User should be default database. > 2: Create table by using the following command: > " CREATE TABLE table11 (ID Int, date Timestamp, country String, name String, phonetype String, serialname String, salary Int) USING org.apache.spark.sql.CarbonSource OPTIONS("tableName"="table11"); " > 3: Table created successfully in the default database. > 4: Create database vinod; > 5: Use vinod; > 6: Create the same table: > " CREATE TABLE table11 (ID Int, date Timestamp, country String, name String, phonetype String, serialname String, salary Int) USING org.apache.spark.sql.CarbonSource OPTIONS("tableName"="table11"); " > 7: Tables shows created as per log. > " 0: jdbc:hive2://localhost:10000> CREATE TABLE table11 (ID Int, date Timestamp, country String, name String, phonetype String, serialname String, salary Int) USING org.apache.spark.sql.CarbonSource OPTIONS("tableName"="table11"); > +---------+--+ > | Result | > +---------+--+ > +---------+--+ > No rows selected (0.095 seconds) > 0: jdbc:hive2://localhost:10000> use vinod; > +---------+--+ > | Result | > +---------+--+ > +---------+--+ > No rows selected (0.02 seconds) > 0: jdbc:hive2://localhost:10000> CREATE TABLE table11 (ID Int, date Timestamp, country String, name String, phonetype String, serialname String, salary Int) USING org.apache.spark.sql.CarbonSource OPTIONS("tableName"="table11"); > +---------+--+ > | Result | > +---------+--+ > +---------+--+ > No rows selected (0.093 seconds) > " > 8: Table does not create on HDFS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)