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

    https://github.com/apache/spark/pull/4249#discussion_r23812967
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala ---
    @@ -54,13 +54,8 @@ private[hive] case object NativePlaceholder extends 
Command
      */
     case class DescribeCommand(
         table: LogicalPlan,
    -    isExtended: Boolean) extends Command {
    -  override def output = Seq(
    -    // Column names are based on Hive.
    -    AttributeReference("col_name", StringType, nullable = false)(),
    -    AttributeReference("data_type", StringType, nullable = false)(),
    -    AttributeReference("comment", StringType, nullable = false)())
    -}
    +    override val output: Seq[Attribute],
    --- End diff --
    
    Maybe the references should be a default argument instead so they are 
defined with the operator.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to