条加readme

This commit is contained in:
chenyawei 2024-12-12 15:03:13 +08:00
parent 8ef75ec1c1
commit bf447497fc
2 changed files with 26 additions and 19 deletions

7
README.md Normal file
View File

@ -0,0 +1,7 @@
## 导入
docker run --rm -ti \
--network=host \
-v /data/y4/tools/config.yaml:/data/config/config.yaml \
-v /data/y4/tools/data:/data/y4/tools/data \
vesoft/nebula-importer:v4 \
--config /data/config/config.yaml

View File

@ -284,25 +284,25 @@ sources:
type: "STRING"
index: 0
- path: /data/y4/tools/data/post_repost_post-0.csv
csv:
delimiter: "|"
withHeader: true
edges:
- name: post_repost_post
mode: INSERT
src:
id:
type: "STRING"
index: 2 # src
dst:
id:
type: "STRING"
index: 1 # dst
props:
- name: "extra_prop"
type: "STRING"
index: 0
# - path: /data/y4/tools/data/post_repost_post-0.csv
# csv:
# delimiter: "|"
# withHeader: true
# edges:
# - name: post_repost_post
# mode: INSERT
# src:
# id:
# type: "STRING"
# index: 2 # src
# dst:
# id:
# type: "STRING"
# index: 1 # dst
# props:
# - name: "extra_prop"
# type: "STRING"
# index: 0
- path: /data/y4/tools/data/post_cite_post-0.csv
csv: