Github user QiangCai commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/219#discussion_r85632919
--- Diff:
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchema.scala
---
@@ -1244,6 +1246,29 @@ case class LoadTableUsingKettle(
Seq.empty
}
+ private def validateDateFormat(dateFormat: String, table: CarbonTable):
Unit = {
+ val dimensions = table.getDimensionByTableName(tableName).asScala
+ if (dateFormat != null) {
+ if (dateFormat.trim == "") {
+ throw new MalformedCarbonCommandException("Error: Option
DateFormat is set an empty " +
--- End diff --
better to remove "Error: " for all exception message
---
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 [email protected] or file a JIRA ticket
with INFRA.
---