-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Type (问题类型)
gremlin (结果不合预期)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
The code insert edges into the hugegraph database:
vWafer = g.V().has('Wafer','id','#WaferId#')
.fold()
.coalesce(
__.unfold(),
__.addV('Wafer').property('id','#WaferId#').property('create_on','#CreateOn#').property('born_in','ELTest')
).next();
vElDefect = g.V().has('ELDefectCategory','name', '#ElDefectName#').fold().coalesce( __.unfold(), __.addV('ELDefectCategory').property('id', UUID.randomUUID().toString()).property('name', '#ElDefectName#') ).next();
g.addE('belong_to_el_defect')
.from(vWafer)
.to(vElDefect)
.property('name','属于')
.iterate();
g.tx().commit();
Expected & Actual behavior (期望与实际表现)
The result shows:
"S1:178201>5>5>参数标准!3BA0>S4:239464"
The edge id has five parts instead of 4 parts, so we failed the run the LPA algorithm:
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
dosubot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working