Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support set operation after pipeline #5461

Open
wey-gu opened this issue Mar 30, 2023 · 0 comments
Open

support set operation after pipeline #5461

wey-gu opened this issue Mar 30, 2023 · 0 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Mar 30, 2023

Now we could do this with Variable, while it's quite limited comparing to being allowed to be piped.

$var=LOOKUP ON player YIELD id(vertex) AS id
| GO FROM $-.id OVER follow REVERSELY
YIELD follow._dst AS event_id;
(
  GO from $var.event_id OVER serve YIELD $var.event_id, serve.start_year AS some_field
UNION ALL
  YIELD $var.event_id, NULL AS some_field
);
@wey-gu wey-gu added the type/enhancement Type: make the code neat or more efficient label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

1 participant