fenganhao commented on issue #653:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/issues/653#issuecomment-2663277162

   Thank you for your willingness to help!
   
    I'll provide a full example that should help you reproduce the issue.
   
   Here’s what I have so far:
   The issue occurs when I use edgelabel in the schema.groovy.
   These are two vertex creation statements:
   ```groovy
   schema.vertexLabel("质量问题")
       .properties("质量问题名称","ID")
       .primaryKeys("ID")
       .ifNotExist()
       .create();
   schema.vertexLabel("问题原因")
       .properties("问题原因描述","ID")
       .primaryKeys("ID")
       .ifNotExist()
       .create();
   ```
   The vertex labels are imported correctly, but when creating the edge:
   ```groovy
   schema.edgeLabel("导致")
       .sourceLabel("问题原因")
       .targetLabel("质量问题")
       .ifNotExist()
       .create();
   ```
   I get the error:
   
   ```pgsql
   Failed to load, cause: Unrecognized field "edgelabel_type" (class 
org.apache.hugegraph.api.schema.EdgeLabelAPI$JsonEdgeLabel), not marked as 
ignorable (13 known properties: "check_exist", "target_label", "name", "ttl", 
"source_label", "nullable_keys", "properties", "sort_keys", "id", "frequency", 
"ttl_start_time", "user_data", "enable_label_index"]) 
    at [Source: 
(org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream);
 line: 1, column: 113] (through reference chain: 
org.apache.hugegraph.api.schema.EdgeLabelAPI$JsonEdgeLabel["edgelabel_type"]) 
   ```
   Let me know if you need any further details or clarification. I really 
appreciate your help on this!


-- 
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: issues-unsubscr...@hugegraph.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org
For additional commands, e-mail: issues-h...@hugegraph.apache.org

Reply via email to