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

    https://github.com/apache/spark/pull/4380#discussion_r24287444
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala ---
    @@ -48,6 +48,38 @@ import scala.collection.JavaConversions._
      */
     private[hive] case object NativePlaceholder extends Command
     
    +/**
    + * Returned for the "DESCRIBE [EXTENDED] [dbName.]tableName" command.
    + * @param table The table to be described.
    + * @param isExtended True if "DESCRIBE EXTENDED" is used. Otherwise, false.
    + *                   It is effective only when the table is a Hive table.
    + */
    +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)())
    +}
    --- End diff --
    
    yeah, my bad, should remove it from here


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to