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 5445F200CE0 for ; Thu, 27 Jul 2017 04:18:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4C35D16A032; Thu, 27 Jul 2017 02:18:43 +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 B808C16A031 for ; Thu, 27 Jul 2017 04:18:42 +0200 (CEST) Received: (qmail 31024 invoked by uid 500); 27 Jul 2017 02:18:41 -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 31015 invoked by uid 99); 27 Jul 2017 02:18:41 -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, 27 Jul 2017 02:18:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A8F34E9624; Thu, 27 Jul 2017 02:18:40 +0000 (UTC) From: lionelcao To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1192: [CARBONDATA-940] alter table add/split partit... Content-Type: text/plain Message-Id: <20170727021840.A8F34E9624@git1-us-west.apache.org> Date: Thu, 27 Jul 2017 02:18:40 +0000 (UTC) archived-at: Thu, 27 Jul 2017 02:18:43 -0000 Github user lionelcao commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1192#discussion_r129740890 --- Diff: examples/spark2/src/main/scala/org/apache/carbondata/examples/CarbonPartitionExample.scala --- @@ -101,17 +126,40 @@ object CarbonPartitionExample { spark.sql(""" | CREATE TABLE IF NOT EXISTS t5 | ( + | id Int, | vin String, | logdate Timestamp, | phonenumber Long, - | area String + | area String, + | salary Int |) | PARTITIONED BY (country String) | STORED BY 'carbondata' | TBLPROPERTIES('PARTITION_TYPE'='LIST', - | 'LIST_INFO'='(China,United States),UK ,japan,(Canada,Russia), South Korea ') + | 'LIST_INFO'='(China, US),UK ,Japan,(Canada,Russia, Good, NotGood), Korea ') --- End diff -- Hi @chenerlu , here in DDL statement, it's designed to leave no space to mock real situation which could happen in customer writing. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---