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 592BC200C48 for ; Thu, 6 Apr 2017 10:37:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 563D9160B9F; Thu, 6 Apr 2017 08:37:10 +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 A5B3F160B83 for ; Thu, 6 Apr 2017 10:37:09 +0200 (CEST) Received: (qmail 50449 invoked by uid 500); 6 Apr 2017 08:37:07 -0000 Mailing-List: contact commits-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 commits@carbondata.incubator.apache.org Received: (qmail 50440 invoked by uid 99); 6 Apr 2017 08:37:07 -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; Thu, 06 Apr 2017 08:37:07 +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 E4D4B18055C for ; Thu, 6 Apr 2017 08:37:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.222 X-Spam-Level: X-Spam-Status: No, score=-4.222 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 Rc2tNVjRRbZL for ; Thu, 6 Apr 2017 08:37:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id BB1FC5FC73 for ; Thu, 6 Apr 2017 08:37:05 +0000 (UTC) Received: (qmail 50417 invoked by uid 99); 6 Apr 2017 08:37:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 08:37:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2E1C7DFC31; Thu, 6 Apr 2017 08:37:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ravipesala@apache.org To: commits@carbondata.incubator.apache.org Date: Thu, 06 Apr 2017 08:37:05 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-carbondata git commit: create database DBNAME , here DBNAME should be case insensitive. archived-at: Thu, 06 Apr 2017 08:37:10 -0000 Repository: incubator-carbondata Updated Branches: refs/heads/master 975a5f7c2 -> bca8b88bb create database DBNAME , here DBNAME should be case insensitive. while creating the folder convert to lower case and create. Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/0f678331 Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/0f678331 Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/0f678331 Branch: refs/heads/master Commit: 0f67833121452c98e57ce9e263fd91bf1cb07557 Parents: 975a5f7 Author: ravikiran Authored: Thu Apr 6 11:06:08 2017 +0530 Committer: ravipesala Committed: Thu Apr 6 14:06:23 2017 +0530 ---------------------------------------------------------------------- .../src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/0f678331/integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala ---------------------------------------------------------------------- diff --git a/integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala b/integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala index 3645f95..39d8798 100644 --- a/integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala +++ b/integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetastore.scala @@ -657,7 +657,7 @@ class CarbonMetastore(conf: RuntimeConfig, val storePath: String) { } def createDatabaseDirectory(dbName: String) { - val databasePath = storePath + File.separator + dbName + val databasePath = storePath + File.separator + dbName.toLowerCase val fileType = FileFactory.getFileType(databasePath) FileFactory.mkdirs(databasePath, fileType) }