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

    https://github.com/apache/spark/pull/4249#discussion_r23932721
  
    --- 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 --
    
    yeah, if we need every operator can be queried like a table, we need make 
it as a default argument, but does it break the current api or interface ? 
Shall we do it in another PR or file a separated JIAR?


---
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