Github user QiangCai commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1573#discussion_r153166206
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/hive/execution/command/CarbonHiveCommands.scala
---
@@ -51,7 +51,7 @@ case class CarbonDropDatabaseCommand(command:
DropDatabaseCommand)
// DropHiveDB command will fail if cascade is false and one or more
table exists in database
if (command.cascade && tablesInDB != null) {
tablesInDB.foreach { tableName =>
- CarbonDropTableCommand(true, tableName.database,
tableName.table).run(sparkSession)
+ CarbonDropTableCommand(true, tableName.database,
tableName.table).run(sparkSession)
--- End diff --
not required
---