sql - Combine SpqrkSQL and GraphX -
can create stored procedure in sparksql , call graphx api? this:
registerfunction("storedproceduregraphx", model.storedproceduregraphx _)
select * sometable storedproceduregraphx(nodex, nodey) > 10
if graphx api mean operation on rdd answer no. involve launching new spark task each row isn't idea. , you'd have close on sparkcontext
, not serializable - , functions use udfs have be.
Comments
Post a Comment