You forgot WITH HEADERS

so you get arrays

> LOAD CSV WITH HEADERS FROM 'file:d:/tmp/aifElement.txt' as row 
> FIELDTERMINATOR ';' CREATE(:aifElement { ElememtID: toInt(row.aifElememtID), 
> sysID: toInt(row.aifSysID), StructID: toInt(row.aifStructID), ElementName: 
> row.aifElementName});


> Am 04.04.2015 um 00:45 schrieb Andreas Dernbauer 
> <[email protected]>:
> 
> Can anyone explain me what is wrong 
> 
> 
> System is Windows
> 
> Error Msg = 
> Type mismatch: expected Map, Node or Relationship but was Collection<String> 
> (line 1, column 109) 
> 
> Command:
> LOAD CSV FROM 'file:d:/tmp/aifElement.txt' as row FIELDTERMINATOR ';' 
> CREATE(:aifElement { ElememtID: toInt(row.aifElememtID), sysID: 
> toInt(row.aifSysID), StructID: toInt(row.aifStructID), ElementName: 
> row.aifElementName});
> 
> Data 
> 
> "aifElememtID";"aifSysID";"aifStructID";"aifElementName"
> 1;1;1;"_CONSTRAINT"
> 2;1;1;"_JOIN"
> 3;1;1;"_JOIN_CONSTRAINT"
> 4;1;1;"AGGREGATION"
> 5;1;1;"AVG_ASSET_ACTIVE"
> 6;1;1;"AVG_ASSET_PASSIVE"
> 7;1;1;"COMMISSION_RESULT"
> 8;1;1;"CONTRIBUTION_MARGIN"
> 9;1;1;"CUST_SEGMENT"
> 
> 
> Thank you 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to