0

I want to solve Parsing Error occurring in uploading CSV files to AWS Neptune.

The problem may be occurred by column name and its type, but I do not know what types are right to write in the header.

I transformed types of all the data as string before uploading CSVs.

Problem does not occur:"~id","pv_time:String","order_num:String","staff_num:String","~label"

Ploblem occurs:"order_num","order_from:String","order_to:String","station_name:String","~label"

The-Big-K
  • 2,672
  • 16
  • 35
K.Tomita
  • 11
  • 1

1 Answers1

2

The ~id and ~label headers are required.

technomage
  • 9,861
  • 2
  • 26
  • 40
  • Thanks, I have been able to insert the data using columns you told me. – K.Tomita Aug 13 '18 at 01:25
  • Although I could insert the data, however, all the data I inserted was recognized as "Vertex", not "Edge". How can I insert the data as "Edge"? – K.Tomita Aug 13 '18 at 02:41
  • 1
    Edge definitions require a different header, i.e. `~id,~from,~to`, where `~from` and `~to` are existing vertex IDs. – technomage Aug 24 '18 at 15:21