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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -