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

    https://github.com/apache/carbondata/pull/2491#discussion_r202226296
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/schema/CarbonAlterTableDropColumnCommand.scala
 ---
    @@ -58,7 +58,10 @@ private[sql] case class 
CarbonAlterTableDropColumnCommand(
             .validateTableAndAcquireLock(dbName, tableName, 
locksToBeAcquired)(sparkSession)
           val metastore = CarbonEnv.getInstance(sparkSession).carbonMetastore
           carbonTable = CarbonEnv.getCarbonTable(Some(dbName), 
tableName)(sparkSession)
    -      if (!carbonTable.canAllow(carbonTable, TableOperation.ALTER_DROP)) {
    +      if (!carbonTable
    --- End diff --
    
    ok


---

Reply via email to