carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: Multiline is not used now
Date Mon, 16 Jan 2017 06:10:48 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 7d2159681 -> 396d0d6b0


Multiline is not used now


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/ecc0a0de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/ecc0a0de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/ecc0a0de

Branch: refs/heads/master
Commit: ecc0a0de9847a52fb3764cca00e85fb0f9a848f4
Parents: 7d21596
Author: Zhangshunyu <zhangshunyu@huawei.com>
Authored: Sun Jan 15 22:32:50 2017 +0800
Committer: jackylk <jacky.likun@huawei.com>
Committed: Mon Jan 16 14:09:46 2017 +0800

----------------------------------------------------------------------
 .../spark/sql/execution/command/carbonTableSchema.scala     | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/ecc0a0de/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
----------------------------------------------------------------------
diff --git a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
index 33ac4e2..ec1974a 100644
--- a/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
+++ b/integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
@@ -417,15 +417,6 @@ case class LoadTable(
       val complex_delimiter_level_2 = options.getOrElse("complex_delimiter_level_2", "\\:")
       val dateFormat = options.getOrElse("dateformat", null)
       validateDateFormat(dateFormat, table)
-      val multiLine = options.getOrElse("multiline", "false").trim.toLowerCase match {
-        case "true" => true
-        case "false" => false
-        case illegal =>
-          val errorMessage = "Illegal syntax found: [" + illegal + "] .The value multiline
in " +
-                             "load DDL which you set can only be 'true' or 'false', please
check " +
-                             "your input DDL."
-          throw new MalformedCarbonCommandException(errorMessage)
-      }
       val maxColumns = options.getOrElse("maxcolumns", null)
 
       carbonLoadModel.setMaxColumns(checkDefaultValue(maxColumns, null))


Mime
View raw message