Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1743#discussion_r159606189
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/datamap/DataMapListeners.scala
---
@@ -65,7 +65,7 @@ object DropDataMapPostListener extends
OperationEventListener {
Some(dataMapSchema.get.getRelationIdentifier.getDatabaseName),
dataMapSchema.get.getRelationIdentifier.getTableName,
dropChildTable = true
- ).run(sparkSession)
+ ).processMetadata(sparkSession)
--- End diff --
I think it is better to move this call to
CarbonDropDataMapCommand.processMetadata
---