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

order by error #4099

Closed
nevermore3 opened this issue Mar 30, 2022 · 1 comment
Closed

order by error #4099

nevermore3 opened this issue Mar 30, 2022 · 1 comment
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@nevermore3
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

(root@nebula) [nba]>  go from "Tim Duncan" over * yield dst(edge) as dst, $$.player.age as age |group by $-.dst yield sum($-.age) as age | order by $-.age
+-----+
| age |
+-----+
| 0   |
| 31  |
| 33  |
| 72  |
| 82  |
+-----+
Got 5 rows (time spent 15212/16394 us)
(root@nebula) [nba]>  go from "Tim Duncan" over * yield dst(edge) as dst, $$.player.age as age |group by $-.dst yield (sum($-.age)+3) as age | order by $-.age
[ERROR (-1009)]: SemanticError: `$-.age', not exist prop `age'

Expected behavior

Additional context

@nevermore3 nevermore3 added the type/bug Type: something is unexpected label Mar 30, 2022
@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Mar 30, 2022
@Sophie-Xie
Copy link
Contributor

#4128

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

No branches or pull requests

3 participants