Open BingqingLyu opened 7 months ago
/cc @BingqingLyu, this issus/pr has had no activity for for a long time, could you folks help to review the status ? To suppress further notifications,
requires-further-info
, work-in-progress
to the issue, requires-further-discussion
or wontfix
to the issue, requires-further-discussion
label to the pull request.
Thanks!
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As titled. Support an optional edge expand, which is used to further support optional match in queries. Basically, given a vertex $v$, optional edge expand is to expand its neighbors if any, or represents the absence of neighbors with
None
, while preserving such $v$ in the results.This includes:
is_optional
inEdgeExpand
in proto to express optional edge expandOptionalEdgeExpand
OptionalEdgeExpand
inExpandIntersection
andPathExpand
Besides, this will introduce
Null
value, we need to process it appropriately in other operations. E.g., expanding from aNull
value may also leads to aNull
result.Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.