version: v2
description: web console import
removeTempFiles: false
clientSettings:
retry: 3
concurrency: 10
channelBufferSize: 128
space: my_space
connection:
user: "root"
password: "123"
address: "192.168.120.155:9669"
# postStart: null
# preStop: null
# 错误等日志信息输出的文件路径。
logPath: test.log
files:
- path: person_0_0.csv
failDataPath: personerr.csv
batchSize: 128
limit: null
inOrder: true
type: csv
csv:
withHeader: true
withLabel: false
delimiter: "|"
schema:
type: vertex
# 本示例第二个数据文件为边的数据。
- path: person_knows_person_0_0.csv
failDataPath: person_knows_person_err.csv
batchSize: 10
limit: null
inOrder: true
type: csv
csv:
withHeader: true
withLabel: false
delimiter: "|"
schema:
# Schema 的类型为 edge。
type: edge
edge:
# Edge type 名称。
name: knows
原先带表头配置的csv文件顶点已经导入成功,这里同样的方式测试导入edge边csv文件失败。
参考github:https://github.com/vesoft-inc/nebula-importer#label-optional