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

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


---

Reply via email to