jiachengni opened a new issue, #2759:
URL: https://github.com/apache/incubator-hugegraph/issues/2759

   ### Bug Type (问题类型)
   
   gremlin (结果不合预期)
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/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:
   
   
![Image](https://github.com/user-attachments/assets/ac2f32f0-1290-4063-85b0-56de2103444f)
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to