Re: Re: GraphFrame not init vertices when load edges

2016-12-18 Thread zjp_j...@163.com
Graph from specified edges that I think it's a good way, but now GraphLoader.edgeListFile load format is not allowed to set edge attribute in edge file, So I want to know GraphFrames has any plan about it or better ways. Thannks zjp_j...@163.com From: Felix Cheung Date: 2016-12-19 1

GraphFrame not init vertices when load edges

2016-12-18 Thread zjp_j...@163.com
t;b", "follow"), ("f", "c", "follow"), ("e", "f", "follow"), ("e", "d", "friend"), ("d", "a", "friend"), ("a", "e", "friend") )).toDF("src", "dst", "relationship") zjp_j...@163.com

Re: Java to show struct field from a Dataframe

2016-12-17 Thread zjp_j...@163.com
I think the causation is your invanlid Double data , have u checked your data ? zjp_j...@163.com From: Richard Xin Date: 2016-12-17 23:28 To: User Subject: Java to show struct field from a Dataframe let's say I have a DataFrame with schema of followings: root |-- name: string (nul

How to load edge with properties file useing GraphX

2016-12-15 Thread zjp_j...@163.com
t that can load edge file with no properties and then join Vertex properties to create Graph. So the issue is how to then attach edge properties. Thanks. zjp_j...@163.com