Skip to content

Conversation

@marmbrus
Copy link
Contributor

@marmbrus marmbrus commented Jan 9, 2015

No description provided.

@SparkQA
Copy link

SparkQA commented Jan 9, 2015

Test build #25346 has started for PR 3987 at commit 8bca2fa.

  • This patch merges cleanly.

@cfregly
Copy link
Contributor

cfregly commented Jan 10, 2015

lgtm. as we just discussed, this is the same code path as SchemaRDD.cache(), so no need for additional tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should functionClassName be still var?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, its mutated below by our custom deserialization.
On Jan 9, 2015 4:31 PM, "Kousuke Saruta" [email protected] wrote:

In sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim13.scala
#3987 (diff):

@@ -53,7 +53,7 @@ import scala.language.implicitConversions
*

  • @param functionClassName UDF class name
    */
    -class HiveFunctionWrapper(var functionClassName: String) extends java.io.Externalizable {
    +case class HiveFunctionWrapper(var functionClassName: String) extends java.io.Externalizable {

nit: should functionClassName be still var?


Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/3987/files#r22753114.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. It's externalaizable.

@SparkQA
Copy link

SparkQA commented Jan 10, 2015

Test build #25346 has finished for PR 3987 at commit 8bca2fa.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class HiveFunctionWrapper(functionClassName: String) extends java.io.Serializable
    • case class HiveFunctionWrapper(var functionClassName: String) extends java.io.Externalizable

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25346/
Test PASSed.

@marmbrus
Copy link
Contributor Author

Merged to master and branch-1.2

asfgit pushed a commit that referenced this pull request Jan 10, 2015
…ause

Author: Michael Armbrust <[email protected]>

Closes #3987 from marmbrus/hiveUdfCaching and squashes the following commits:

8bca2fa [Michael Armbrust] [SPARK-5187][SQL] Fix caching of tables with HiveUDFs in the WHERE clause

(cherry picked from commit 3684fd2)
Signed-off-by: Michael Armbrust <[email protected]>
@asfgit asfgit closed this in 3684fd2 Jan 10, 2015
@marmbrus marmbrus deleted the hiveUdfCaching branch February 17, 2015 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants