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

    https://github.com/apache/spark/pull/5350#discussion_r28393963
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/commands.scala ---
    @@ -76,6 +76,12 @@ case class DropTable(
     private[hive]
     case class AddJar(path: String) extends RunnableCommand {
     
    +  override val output: Seq[Attribute] = {
    +    val schema = StructType(
    +      StructField("result", IntegerType, false) :: Nil)
    +    schema.toAttributes
    +  }
    --- End diff --
    
    I do not really know the reason that the result of AddJar is a `Row(0)` 
(see a few lines below.). But, we can figure it out after we merge it.


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