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

The following two statements should output the same content #3652

Closed
foesa-yang opened this issue Jan 6, 2022 · 2 comments · Fixed by #3746
Closed

The following two statements should output the same content #3652

foesa-yang opened this issue Jan 6, 2022 · 2 comments · Fixed by #3746
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@foesa-yang
Copy link

Please check the FAQ documentation before raising an issue

Describe the bug (required)

(root@nebula) [nba]> match (v:player{name:"Tony Parker"}) with v as a match p=(o:player{name:"Tim Duncan"})-[]->(a) return o.player.name
+---------------+
| o.player.name |
+---------------+
+---------------+
Empty set (time spent 2825/3306 us)

Thu, 06 Jan 2022 16:43:39 CST

(root@nebula) [nba]> match p=(o:player{name:"Tim Duncan"})-[]->(v:player{name:"Tony Parker"}) return o.player.name
+---------------+
| o.player.name |
+---------------+
| "Tim Duncan"  |
| "Tim Duncan"  |
+---------------+

L1VzZXJzL2ZvZXNhL0xpYnJhcnkvQ2FjaGVzL2NvbS5hbGliYWJhLkRpbmdUYWxrTWFjLzViOTI5YmYzYzA3MmE4MzcwZTZjMWMxNzE0ZjFmNjBlLmpwZw==

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:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@foesa-yang foesa-yang added the type/bug Type: something is unexpected label Jan 6, 2022
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Jan 6, 2022
@CPWstatic
Copy link
Contributor

I test this case, the result is diffrent from yours:

(root@nebula) [nba]> profile match (v:player{name:"Tony Parker"}) with v as a match p=(o:player{name:"Tim Duncan"})-[]->(a) return o.player.name
+---------------+
| o.player.name |
+---------------+
| "Tim Duncan"  |
| "Tim Duncan"  |
+---------------+
Got 2 rows (time spent 862799/863599 us)

@foesa-yang
Copy link
Author

image

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

Successfully merging a pull request may close this issue.

4 participants