Skip to content

Cannot import data at ver 20.07 #2

@micli

Description

@micli

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions