Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

[bug] something wrong with the backslash #824

Closed
whitewum opened this issue Mar 16, 2021 · 5 comments
Closed

[bug] something wrong with the backslash #824

whitewum opened this issue Mar 16, 2021 · 5 comments
Labels
bug Type: something is unexpected

Comments

@whitewum
Copy link
Contributor

whitewum commented Mar 16, 2021

image

 LOOKUP ON player WHERE player.name == "Tony Parker" | GO FROM $-.VertexID over follow WHERE follow.degree != reduce(totalNum = 5, n IN range(1, 3) | $$.player.age + totalNum + n)  YIELD $$.player.name AS id, $$.player.age AS age, follow.degree AS degree

if I add backslash

image

image

@whitewum whitewum added the bug Type: something is unexpected label Mar 16, 2021
@whitewum whitewum changed the title something wrong with the backslash [bug] something wrong with the backslash Mar 16, 2021
@czpmango
Copy link
Contributor

Could you raise issues without using pictures, it's better to use markdown.

@whitewum
Copy link
Contributor Author

LOOKUP ON player WHERE player.name == "Tony Parker" |  \
GO FROM $-.VertexID over follow \
WHERE follow.degree != reduce(totalNum = 5, n IN range(1, 3) | $$.player.age + totalNum + n) \
YIELD $$.player.name AS id, $$.player.age AS age, follow.degree AS degree

@whitewum
Copy link
Contributor Author

I think the problem is that pipe symbol in reduce()

@HarrisChu
Copy link
Contributor

not repeat in v2.0.1

@CPWstatic
Copy link
Contributor

Please upgrade the nebula-consle to a latest version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants