-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5187][SQL] Fix caching of tables with HiveUDFs in the WHERE clause #3987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #25346 has started for PR 3987 at commit
|
|
lgtm. as we just discussed, this is the same code path as SchemaRDD.cache(), so no need for additional tests. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
Test build #25346 has finished for PR 3987 at commit
|
|
Test PASSed. |
|
Merged to master and branch-1.2 |
…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]>
No description provided.