You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Address = (String, Int)
type NebulaType = Int
type Prop = List[Any]
type PropertyNames = List[String]
type PropertyValues = List[Any]
// 是否可以将VertextID 值改为 String 。 Long转String 没问题, 但String 未必能成功转换成Long
//type VertexID = Long type VertexID = String
type VertexIDSlice = String
type NebulaGraphxVertex = (VertexID, PropertyValues)
type NebulaGraphxEdge = org.apache.spark.graphx.Edge[(EdgeRank, Prop)]
type EdgeRank = Long
The text was updated successfully, but these errors were encountered:
问题描述
nebula 点集合VertexID类型是String, 在调用loadVerticesToGraphx 时候 报错 Long类型转换报错。
下面是修改后可以正常运行:type VertexID = String
package object connector {
type Address = (String, Int)
type NebulaType = Int
type Prop = List[Any]
type PropertyNames = List[String]
type PropertyValues = List[Any]
// 是否可以将VertextID 值改为 String 。 Long转String 没问题, 但String 未必能成功转换成Long
//type VertexID = Long
type VertexID = String
type VertexIDSlice = String
type NebulaGraphxVertex = (VertexID, PropertyValues)
type NebulaGraphxEdge = org.apache.spark.graphx.Edge[(EdgeRank, Prop)]
type EdgeRank = Long
The text was updated successfully, but these errors were encountered: