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

    https://github.com/apache/carbondata/pull/1630#discussion_r156305910
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/strategy/DDLStrategy.scala
 ---
    @@ -134,17 +134,25 @@ class DDLStrategy(sparkSession: SparkSession) extends 
SparkStrategy {
             } else {
               throw new MalformedCarbonCommandException("Unsupported alter 
operation on hive table")
             }
    -      case desc@DescribeTableCommand(identifier, partitionSpec, isExtended)
    -        if CarbonEnv.getInstance(sparkSession).carbonMetastore
    -          .tableExists(identifier)(sparkSession) =>
    -        val resolvedTable =
    -          
sparkSession.sessionState.executePlan(UnresolvedRelation(identifier)).analyzed
    -        val resultPlan = 
sparkSession.sessionState.executePlan(resolvedTable).executedPlan
    -        ExecutedCommandExec(
    -          CarbonDescribeFormattedCommand(
    -            resultPlan,
    -            plan.output,
    -            identifier)) :: Nil
    +      case desc@DescribeTableCommand(identifier, partitionSpec, 
isExtended) =>
    +        var isFormatted: Boolean = false
    --- End diff --
    
    make it val


---

Reply via email to