graphdb-benchmarks icon indicating copy to clipboard operation
graphdb-benchmarks copied to clipboard

Cannot import data at ver 20.07

Open micli opened this issue 4 years ago • 0 comments

Hi Yadav:

I cannot import 21million data into Dgraph ver 20.07. I noticed that there was a chang regarding bulk insert that dgraphloader has replaced to dgraph live/bulk. I tired dgraph live, that showed me a lot of errors like:

Error while mutating: Attr: [film.film.tagline] should have @lang directive in schema to mutate edge: [entity:242618 attr:"film.film.tagline" value:"Three different women married Frankie Lymon. Now as they fight to get a piece of his millions, They will have to prove who married him first and who loved him most." lang:"en" ] s.Code Unknown.

I have specified schema file that you offered in data folder. It always shows me error as below: Error while processing schema file "21million.schema": rpc error: code = Unknown desc = line 1 column 7: Missing colon

I am a newbie. How can I fix these issue? Thanks!

micli avatar Sep 02 '20 05:09 micli