我正在运行以下密码 . 它曾经在以前版本的neo4j上完美运行 . 现在它没有设置属性 . CSV文件完好无损,并且包含以下字段 . 在shell中,它甚至没有显示最后两行的行号,就像它完全忽略了命令一样 .

using periodic commit
load csv with headers from "file:/relacionamento.csv" as row
match (p1:Pessoa {idpessoa: toint(row.idpessoa1)})
match (p2:Pessoa {idpessoa: toint(row.idpessoa2)})
create (p1)-[r:RELACIONAMENTO]->(p2) set r.peso_relacionamento = tofloat(row.peso_relacionamento), 
r.peso_relacionamento_ponderado = tofloat(row.peso_relacionamento_fator)