Skip to content

Store strings unescaped #1508

@niemeyer

Description

@niemeyer

On an rdf file produced by the internal export routine itself, bulkloader breaks if there were embedded newlines:

2017/09/21 21:47:14 Invalid end of input. Input: [<_:uid14c43> <svalue> "Foo]
while parsing line "<_:uid14c43> <svalue> \"Foo"
main.(*mapper).parseRDF
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/cmd/bulkloader/mapper.go:149

Exported file content holds:

<_:uid14c43> <svalue> "Foo^M
Bar"^^<xs:string> 

Metadata

Metadata

Assignees

Labels

kind/bugSomething is broken.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions