Github user sujith71955 commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/105#discussion_r76657713
--- Diff:
integration/spark/src/main/scala/org/apache/spark/sql/CarbonSqlParser.scala ---
@@ -1342,4 +1345,9 @@ class CarbonSqlParser()
}
}
+ protected lazy val dropDatabaseCascade: Parser[LogicalPlan] =
+ DROP ~> (DATABASE|SCHEMA) ~> opt(IF ~> EXISTS) ~> ident ~> CASCADE <~
opt(";") ^^ {
+ case cascade => throw new MalformedCarbonCommandException(
+ "Unsupported cascade operation in drop database command")
--- End diff --
since system supports both database and schema better to provide message
including schema like database/schema command like "Unsupported cascade
operation in drop database/schema command" , else better provide "Unsupported
cascade operation in drop command".
---
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.
---