Enable piped var being yield in FETCH PROP #3984
Labels
good first issue
Community: perfect as the first pull request
type/enhancement
Type: make the code neat or more efficient
Introduction
Minimal reproduce:
The second pattern would enable the user to do prop fetch with the original order(where we lost the order, for now).
See an example of this:
the properties($-.post) were chosen to FETCH in the end rather than in the head sentence due to it being much cheaper(in case properties per vertex are much bigger) to fetch after the aggregation, but in this case, the order was lost.
Nebula could help here on:
FETCH ON * $-.post
ordered from the array of $-.postYIELD "player100" AS foo, 1 AS rank | FETCH PROP ON * $-.foo YIELD vertex as v, $-.rank AS rank
Contents
ref: https://discuss.nebula-graph.io/t/fetch-prop-keep-sorting-order/1183/
Related work
n/a
The text was updated successfully, but these errors were encountered: