apache / apache/hugegraph-toolchain

关于文件的date_format设计。

Open
#229 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
121
Forks
125
Avg merge
10d 10h
Merged PRs (30d)
3

Description

### Problem Type (问题类型)

logic (逻辑设计问题)

### Before submit

- [X] 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Loader-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有相同 / 重复问题

### Environment (环境信息)

- Server Version: v0.11.x
- Loader Version: v0.11.x
- Data Size: xx vertices, xx edges

### Your Question (问题描述)

如果一个节点文件中节点属性包含两种不同的时间格式。请问在导入的struct.json中该如何将两种时间格式都填写进去呢?官方给的指导文档中只能填入一种时间格式。
![1639058831(1)](https://user-images.githubusercontent.com/14192453/145411349-f1fe48c2-3ed1-4e7c-9b18-b5d341ef2a17.png)
如图中的birthday和creationDate属性有不同的时间格式,但是导入的时候只能填写一种时间格式。
希望能改一下官方指导文档或者完善相关功能,感谢

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the import documentation and the struct.json configuration, focusing on the date_format setting and the birthday and creationDate examples. Determine whether the intended outcome is documenting multiple formats or supporting per-property formats; done should be a clear documented behavior or an agreed implementation scope, with matching import coverage if code changes are required.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.