spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <...@git.apache.org>
Subject [GitHub] spark pull request #14883: [SPARK-17319] [SQL] Move addJar from HiveSessionS...
Date Thu, 01 Sep 2016 03:39:37 GMT
Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14883#discussion_r77110077
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/resources.scala
---
    @@ -37,13 +38,13 @@ case class AddJarCommand(path: String) extends RunnableCommand {
       }
     
       override def run(sparkSession: SparkSession): Seq[Row] = {
    -    sparkSession.sessionState.addJar(path)
    +    sparkSession.sharedState.addJar(path)
         Seq(Row(0))
       }
     }
     
     /**
    - * Adds a file to the current session so it can be used.
    + * Adds a cross-session file so it can be used.
    --- End diff --
    
    Also updated the command of `ADD FILE`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message