Skip to content

[Question] 使用容器loader导入报错,提示Unrecognized field "edgelabel_type" #653

@fenganhao

Description

@fenganhao

Problem Type (问题类型)

gremlin (结果不合预期)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

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] (元数据结构)

Metadata

Metadata

Assignees

No one assigned

    Labels

    inactiveloaderhugegraph-loaderquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions