You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/10/23 11:31:08 UTC

[GitHub] [incubator-hugegraph] turkeymz opened a new issue, #1986: [Bug] 使用Loader仅导入关系,出现主键是否为空

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

   ### Bug Type (问题类型)
   
   other exception / error (其他异常报错)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
   
   ### Environment (环境信息)
   
   - Server Version: v0.12.x
   - Backend: HBase
   - OS: Centos 7.x 
   - Data Size:   500edges <!-- (like 1000W 点, 9000W 边) -->
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   使用HugeGraph-Loader仅导入边的时候,出现主主键为空。
   可以保证双方每一个主键都存在值,且创建关系的两边节点均未使用主键的字段作为关联。
   作为关联的字段均存在值且能作为限制语句在图数据库中能找到对应的节点。
   压缩包存在4个任务的配置文件,以及Loader对任务的导入日志
   
   # 我创建的案例的配置文件如下:
   下面是创建基础节点和边的任务(正常)
   1580735006019420162
   1580735404365053954
   1580735812122705922
   下面是基于上述3个任务仅创建边的任务(异常)
   1580735987054542849
   
   [task.zip](https://github.com/apache/incubator-hugegraph/files/9846416/task.zip)
   
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
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-unsubscribe@hugegraph.apache.org.apache.org

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


[GitHub] [incubator-hugegraph] turkeymz commented on issue #1986: [Bug] 使用Loader仅导入关系,出现主键是否为空

Posted by GitBox <gi...@apache.org>.
turkeymz commented on issue #1986:
URL: https://github.com/apache/incubator-hugegraph/issues/1986#issuecomment-1289904244

   > 描述信息看起来不是很明白,报错信息是否可以提供一下?
   全部都是类似这样的错误。经过测试,关联时必须要用主键关联。不过显示情况下,主键和外键不一定是同一个字段。
   #### PARSE ERROR: Make sure the the primary key fields [BUSINESS_ID] are not empty, or check whether the headers or field_mapping are configured correctly
   {"source_name": "4139b0ec-eb75-44b1-8e71-f6d00c370c9e", "target_name": "2edec9dd-0160-1000-e009-8a3c0a0d0114"}


-- 
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-unsubscribe@hugegraph.apache.org

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


[GitHub] [incubator-hugegraph] javeme commented on issue #1986: [Bug] 使用Loader仅导入关系,出现主键是否为空

Posted by GitBox <gi...@apache.org>.
javeme commented on issue #1986:
URL: https://github.com/apache/incubator-hugegraph/issues/1986#issuecomment-1289081805

   描述信息看起来不是很明白,报错信息是否可以提供一下?


-- 
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-unsubscribe@hugegraph.apache.org

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