Problem Type (问题类型)
gremlin (结果不合预期)
Before submit
Environment (环境信息)
Your Question (问题描述)
使用loader批量导入,schema.groovy对边的描述为
schema.edgeLabel("导致")
.sourceLabel("问题原因")
.targetLabel("质量问题")
.ifNotExist()
.create();
报错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"])
我很疑惑,代码中并没有edgelabel_type。
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
Problem Type (问题类型)
gremlin (结果不合预期)
Before submit
Environment (环境信息)
Server Version: latest(Apache Release Version)
loader Version:1.5.0(Apache Release Version)
Your Question (问题描述)
使用loader批量导入,schema.groovy对边的描述为
schema.edgeLabel("导致")
.sourceLabel("问题原因")
.targetLabel("质量问题")
.ifNotExist()
.create();
报错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"])
我很疑惑,代码中并没有edgelabel_type。
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)