条加readme
This commit is contained in:
parent
8ef75ec1c1
commit
bf447497fc
7
README.md
Normal file
7
README.md
Normal 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
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user