carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1610: [CARBONDATA-1789][CARBONDATA-1791]do not drop...
Date Tue, 05 Dec 2017 15:26:01 GMT
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


---

Mime
View raw message