dosubot[bot] commented on issue #680:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/issues/680#issuecomment-3218210326

   <!-- Answer -->
   需要。即使所有属性、点类型和边类型都已经在 HugeGraph 里提前创建好,hugegraph-loader 依然必须有 mapping 
文件(struct.json),用来告诉 loader 如何把 CSV 文件的每一列映射到图数据库的 schema 上。没有 mapping 
文件,loader 无法解析你的 CSV 数据和字段对应关系。
   
   schema 配置文件(如 schema.groovy)只在你需要自动创建 schema 时才需要。如果所有 schema 元素都已存在,可以不用再执行 
schema 文件,只要保证 mapping 文件字段和 schema 完全对应即可。
   
   参考社区讨论和 loader 测试用例,struct.json 是必须的,schema.groovy 可选(已建好 schema 
时不用)[详见](https://github.com/apache/incubator-hugegraph-toolchain/issues/680#issuecomment-3218174858)。
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2844c341-cb35-49ab-880d-2a4f72211ba5?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/e5e246fa-a522-4d8a-ab3c-e2588b5b501b/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph-toolchain/issues/680)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to