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

    https://github.com/apache/spark/pull/20557#discussion_r167244246
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala ---
    @@ -539,15 +539,15 @@ case class DescribeTableCommand(
             throw new AnalysisException(
               s"DESC PARTITION is not allowed on a temporary view: 
${table.identifier}")
           }
    -      describeSchema(catalog.lookupRelation(table).schema, result, header 
= false)
    +      describeSchema(catalog.lookupRelation(table).schema, result, header 
= true)
    --- End diff --
    
    It's not worth yet another flag, and this is a behavior change in the 
output. There's no motivation for this change either.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to