From issues-return-30804-archive-asf-public=cust-asf.ponee.io@carbondata.apache.org Sat Jan 13 09:41:41 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id C6233180630 for ; Sat, 13 Jan 2018 09:41:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B5F9D160C2F; Sat, 13 Jan 2018 08:41:41 +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 F2790160C22 for ; Sat, 13 Jan 2018 09:41:40 +0100 (CET) Received: (qmail 77940 invoked by uid 500); 13 Jan 2018 08:41:40 -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 77930 invoked by uid 99); 13 Jan 2018 08:41:40 -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; Sat, 13 Jan 2018 08:41:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 85D5ADFCFA; Sat, 13 Jan 2018 08:41:37 +0000 (UTC) From: anubhav100 To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1777: [CARBONDATA-1973] User Should not Be able to ... Content-Type: text/plain Message-Id: <20180113084138.85D5ADFCFA@git1-us-west.apache.org> Date: Sat, 13 Jan 2018 08:41:37 +0000 (UTC) Github user anubhav100 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1777#discussion_r161367489 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParser.scala --- @@ -200,7 +200,8 @@ class CarbonHelperSqlAstBuilder(conf: SQLConf, throw new MalformedCarbonCommandException("Error: Invalid partition definition") } // partition columns should not be part of the schema - val badPartCols = partitionFields.map(_.partitionColumn).toSet.intersect(colNames.toSet) + val badPartCols = partitionFields.map(_.partitionColumn.toLowerCase). --- End diff -- @jackylk done and pushed ---