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

unexpected match filter result #4853

Closed
nebula-bots opened this issue Nov 10, 2022 · 1 comment
Closed

unexpected match filter result #4853

nebula-bots opened this issue Nov 10, 2022 · 1 comment
Labels
affects/master PR/issue: this bug affects master version. auto-sync severity/minor Severity of bug type/bug Type: something is unexpected

Comments

@nebula-bots
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Unexpected match filter reuslt, reproduce:

(root@nebula) [nba]> create tag if not exists t1(name string);
Execution succeeded (time spent 557/783 us)

Mon, 26 Sep 2022 18:38:44 CST

(root@nebula) [nba]> create tag if not exists t2(name string);
Execution succeeded (time spent 564/798 us)

Mon, 26 Sep 2022 18:38:55 CST

(root@nebula) [nba]> insert vertex t1(name) values "kk":("hello");
Execution succeeded (time spent 701/932 us)

Mon, 26 Sep 2022 18:39:04 CST

(root@nebula) [nba]> insert vertex t2(name) values "kk":("world");
Execution succeeded (time spent 1113/1327 us)

Mon, 26 Sep 2022 18:39:11 CST

(root@nebula) [nba]> insert edge like(likeness) values "kk"->"kk"@1:(1)
Execution succeeded (time spent 1082/1288 us)

Mon, 26 Sep 2022 18:39:16 CST

(root@nebula) [nba]> match p = (v{name: "hello"})-->(v1{name: "hello"}) where id(v) == "kk" return p limit 1;
+----------------------------------------------------------------------------------------------------------------------+
| p                                                                                                                    |
+----------------------------------------------------------------------------------------------------------------------+
| <("kk" :t1{name: "hello"} :t2{name: "world"})-[:like@1 {likeness: 1}]->("kk" :t1{name: "hello"} :t2{name: "world"})> |
+----------------------------------------------------------------------------------------------------------------------+
Got 1 rows (time spent 2307/2652 us)

Mon, 26 Sep 2022 18:39:26 CST

(root@nebula) [nba]> match p = (v{name: "hello"})-->(v1{name: "world"}) where id(v) == "kk" return p limit 1;
+---+
| p |
+---+
+---+
Empty set (time spent 5376/6211 us)

Mon, 26 Sep 2022 18:39:31 CST

(root@nebula) [nba]>

Your Environments (required)

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

How To Reproduce(required)

Steps to reproduce the behavior:

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

Expected behavior

Additional context

@nebula-bots nebula-bots added auto-sync severity/major Severity of bug type/bug Type: something is unexpected labels Nov 10, 2022
@Sophie-Xie
Copy link
Contributor

#4740

@nebula-bots nebula-bots added severity/minor Severity of bug affects/master PR/issue: this bug affects master version. and removed severity/major Severity of bug labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/master PR/issue: this bug affects master version. auto-sync severity/minor Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants