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

    https://github.com/apache/spark/pull/3712#discussion_r22013814
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/DescribeHiveTableCommand.scala
 ---
    @@ -36,13 +36,11 @@ import org.apache.spark.sql.hive.HiveShim
     @DeveloperApi
     case class DescribeHiveTableCommand(
         table: MetastoreRelation,
    -    output: Seq[Attribute],
    -    isExtended: Boolean)(
    -    @transient context: HiveContext)
    -  extends LeafNode with Command {
    +    override val output: Seq[Attribute],
    +    isExtended: Boolean) extends RunnableCommand {
     
       // Strings with the format like Hive. It is used for result comparison 
in our unit tests.
    -  lazy val hiveString: Seq[String] = sideEffectResult.map {
    +  lazy val hiveString: Seq[String] = 
run(SparkPlan.currentContext.get()).map {
    --- End diff --
    
    Can we just move this to the place in the unit tests where we need 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