gaeduf commented on issue #1997: URL: https://github.com/apache/incubator-hugegraph/issues/1997#issuecomment-1315265359
> 导入时,需要确保一个文件中的每一行必须是同类数据,即数据的edgelable必须相同。 > > 另外,`undefined`类型顶点表示不存在的顶点,有2种方式避免这种悬空边导致的问题: > > 1. 导入边时检查顶点必须存在,设置参数[`check_vertex=true`](https://hugegraph.apache.org/docs/clients/restful-api/edge/#222-%E5%88%9B%E5%BB%BA%E5%A4%9A%E6%9D%A1%E8%BE%B9)。 > 2. 或者后续导入缺少的顶点。 对,其实 undefined 应该是查出来的这个点是不存在的。 实际情况是 如果用 g.V(id) 去查这个顶点 是存在的,只不过由于 前面边导入的有问题,因为在查出来的结果里面“显示是 undefined”。 目前来说,这个问题已经能弄清楚了。 感谢! -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org