apache / apache/age

[Bitnine Tech] - Change edge file format

Open
#375 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

When I try to load a csv file for edge, I should write a format like this for only AGE.
**start_id,start_vertex_type,end_id,end_vertex_type,properties**

But I think that it wastes about data and it isn't reasonable, because i should modify all files that were already written
It seems that they have to exist for only AGE and it is not suitable about reusing a data file.

I suggest a method that it changes just header not the other rows like this.
And we write a label name with other delimiter like :(the colon).
[present]
```
commentid,comment,personid,person
1236950581249,comment,10995116284808,person
1236950581250,comment,4139,person
2061584302085,comment,4139,person
2061584302086,comment,4139,person
2061584302087,comment,4139,person
2061584302088,comment,10995116284808,person
2061584302089,comment,32985348838375,person
2061584302090,comment,10995116284808,person
2061584302091,comment,6597069777240,person
...
```
[suggestion]
```
commentid:comment,personid:person
1236950581249,10995116284808
1236950581250,4139
2061584302085,4139
2061584302086,4139
2061584302087,4139
2061584302088,10995116284808
2061584302089,32985348838375
2061584302090,10995116284808
2061584302091,6597069777240
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.