-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
Stalearea/live-loaderIssues related to live loading.Issues related to live loading.dgraphIssue or PR created by an internal Dgraph contributor.Issue or PR created by an internal Dgraph contributor.kind/enhancementSomething could be better.Something could be better.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Description
Experience Report
This ticket is related to #4917
--store_xids:
A feature that exists only in Bulkloader. It takes the XID or blank node and saves it to the same node as a property of it with the predicate name as "xid". e.g.:
<_:MichelDiz> <name> "Michel" .
It will be recorded as
{
"data": {
"q": [
{
"name": "Michel",
"xid": "_:MichelDiz"
}
]
}
This functionality at first does not seem useful. But I'm sure it's related to the approach on external IDs https://docs.dgraph.io/mutations/#external-ids
e.g.:
<0x321> <xid> "https://www.themoviedb.org/person/32-robin-wright" .
It can be useful in this case and we can use Upsert Block. But it is not useful for those who need to ingest large amounts of data. Only small cases.
Metadata
Metadata
Assignees
Labels
Stalearea/live-loaderIssues related to live loading.Issues related to live loading.dgraphIssue or PR created by an internal Dgraph contributor.Issue or PR created by an internal Dgraph contributor.kind/enhancementSomething could be better.Something could be better.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.