Skip to content

[Bug] The edge id is formatted by 5 instead of 4 parts #324

@jiachengni

Description

@jiachengni

Bug Type (问题类型)

gremlin (结果不合预期)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (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:

Image

Vertex/Edge example (问题点 / 边数据举例)

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions