Subject: | Batch creation failure |
Trying to do batch import. I have 3 hashes with firstnames (ab. 100k), lastnames (ab. 1000) and midnames (ab. 2000). Code looks like this:
batch {
for $n ( keys( %firstname_hash ) ) {
$f = REST::Neo4p::Node->new( { name_ua => $n, rate => $firstname_hash{ $n }, gender => $gender_hash{ $n } } );
$f->set_labels( 'FirstName' );
}
... the same for 2 other hashes...
}
Initially database is clean, no nodes at all. The above code creates some random quantity of nodes (10+? 20+? never more than 100) then fails silently without any diagnostics. Script just stops.
Thanks in advance!
WBR, Andrii