Github user Sssan520 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2619#discussion_r209208751
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/datamap/CarbonDropDataMapCommand.scala
 ---
    @@ -114,12 +114,6 @@ case class CarbonDropDataMapCommand(
             LOGGER.audit(s"Deleting datamap [$dataMapName] under table 
[$tableName]")
     
             // drop index datamap on the main table
    -        if (mainTable != null &&
    --- End diff --
    
    when drop preagg datamap  , should delete the datamap schema file and main 
tableinfo schema info.


---

Reply via email to