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

    https://github.com/apache/carbondata/pull/1610#discussion_r154979407
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/table/CarbonDropTableCommand.scala
 ---
    @@ -71,6 +73,10 @@ case class CarbonDropTableCommand(
               ifExistsSet,
               sparkSession)
           OperationListenerBus.getInstance.fireEvent(dropTablePreEvent, 
operationContext)
    +      if 
(SegmentStatusManager.checkIfAnyLoadInProgressForTable(carbonTable)) {
    +        throw new AnalysisException(s"Cannot drop table, load or insert 
overwrite is " +
    --- End diff --
    
    use operationNotAllowed


---

Reply via email to