GitHub user wangzhewwzz added a comment to the discussion: 关于电网拓扑数据导入

您好,"value_mapping": {  "label": { "CONNECTED_TO": 
"LineSegment2LineSegment" },  "source_label": { "LineSegment": 
"LineSegment" },  "target_label": { "LineSegment": "LineSegment" } } 
这个地方我是这么写的呢,代码贴上了 上一个邮件还麻烦您再帮我看一下 然后 
// 边标签(每种类型对每种类型都定义一条边,便于扩展和双向连接)
schema.edgeLabel("Substation2LineSegment").sourceLabel("Substation").targetLabel("LineSegment").properties("id",
 "source_label", "target_label").ifNotExist().create();
schema.edgeLabel("LineSegment2StationHouse").sourceLabel("LineSegment").targetLabel("StationHouse").properties("id",
 "source_label", "target_label").ifNotExist().create();
schema.edgeLabel("LineSegment2LineSegment").sourceLabel("LineSegment").targetLabel("LineSegment").properties("id",
 "source_label", "target_label").ifNotExist().create();






 "field_mapping": { "from": "id", "to": "id" },



改成这样也是还报错

GitHub link: 
https://github.com/apache/incubator-hugegraph/discussions/2917#discussioncomment-15205155

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to