We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128279 commit 8d1c982Copy full SHA for 8d1c982
worker/export.go
@@ -228,8 +228,8 @@ func (e *exporter) toRDF() (*bpb.KVList, error) {
228
229
prefix := fmt.Sprintf(uidFmtStrRdf+" <%s> ", e.uid, e.attr)
230
err := e.pl.Iterate(e.readTs, 0, func(p *pb.Posting) error {
231
- fmt.Fprint(bp, prefix)
232
if p.PostingType == pb.Posting_REF {
+ fmt.Fprint(bp, prefix)
233
fmt.Fprintf(bp, uidFmtStrRdf, p.Uid)
234
} else {
235
val := types.Val{Tid: types.TypeID(p.ValType), Value: p.Value}
@@ -238,6 +238,7 @@ func (e *exporter) toRDF() (*bpb.KVList, error) {
238
glog.Errorf("Ignoring error: %+v\n", err)
239
return nil
240
}
241
242
fmt.Fprintf(bp, "%s", escapedString(str))
243
244
tid := types.TypeID(p.ValType)
0 commit comments