Uh oh!
There was an error while loading. Please reload this page.
[SPARK-20033][SQL] support hive permanent function - #17362
Conversation
SparkQA
commented
Mar 20, 2017
Test build #74885 has finished for PR 17362 at commit
|
SparkQA
commented
Mar 20, 2017
Test build #74889 has finished for PR 17362 at commit
|
SparkQA
commented
Mar 20, 2017
Test build #74890 has finished for PR 17362 at commit
|
SparkQA
commented
Mar 21, 2017
Test build #74912 has finished for PR 17362 at commit
|
gatorsmile
commented
Mar 23, 2017
I think we already support Hive UDF. See the test case for permanent Hive UDF. |
| functionResourceLoader.loadResource(resource) | ||
| } else { | ||
| val sessionState = SessionState.get() | ||
| val localPath = sessionState.add_resource(resourceType, resource.uri) |
There was a problem hiding this comment.
Are you trying to create a Hive UDF via Spark, then call it through Hive?
There was a problem hiding this comment.
no, I just use sessionState.add_resource to download the resouces
cenyuhai
commented
Mar 24, 2017
@gatorsmile hi,spark just suport HIVE UDF which resources is in the local disk, or spark-sql --jars xxx.jar or something else. But I think spark don't support the hive permanent function which resources are in hdfs. |
wangyum
commented
Mar 24, 2017
@weiqingy is doing Allow adding jars from hdfs. |
cenyuhai
commented
Mar 24, 2017
Ok, I think @weiqingy 's pr will resolve this problem |
gatorsmile
commented
Mar 24, 2017
## What changes were proposed in this pull request? This PR proposes to close a stale PR, several PRs suggested to be closed by a committer and obviously inappropriate PRs. Closesapache#11119Closesapache#17853Closesapache#17732Closesapache#17456Closesapache#17410Closesapache#17314Closesapache#17362Closesapache#17542 ## How was this patch tested? N/A Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#17855 from HyukjinKwon/close-pr.
What changes were proposed in this pull request?
support hive permanent function
How was this patch tested?