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 1ac8012 commit 538b499Copy full SHA for 538b499
worker/export.go
@@ -218,8 +218,8 @@ func (e *exporter) toRDF() (*bpb.KVList, error) {
218
219
prefix := fmt.Sprintf(uidFmtStrRdf+" <%s> ", e.uid, e.attr)
220
err := e.pl.Iterate(e.readTs, 0, func(p *pb.Posting) error {
221
- fmt.Fprint(bp, prefix)
222
if p.PostingType == pb.Posting_REF {
+ fmt.Fprint(bp, prefix)
223
fmt.Fprintf(bp, uidFmtStrRdf, p.Uid)
224
} else {
225
val := types.Val{Tid: types.TypeID(p.ValType), Value: p.Value}
@@ -228,6 +228,7 @@ func (e *exporter) toRDF() (*bpb.KVList, error) {
228
glog.Errorf("Ignoring error: %+v\n", err)
229
return nil
230
}
231
232
fmt.Fprintf(bp, "%s", escapedString(str))
233
234
tid := types.TypeID(p.ValType)
0 commit comments