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

Logic inconsistency: equal number of rows with inconsistent content #5625

Open
polyominal opened this issue Jul 8, 2023 · 0 comments
Open
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected

Comments

@polyominal
Copy link

(This one behaves somewhat differently from #5624, as the results have equal number of rows yet different content.)

Bug Description

The following two logically equivalent (as one could verify) queries are returning inconsistent results. The results has the same number of rows but their content differs.

Query 1:

MATCH (n1:L5:L4)-[:T1|T3]->(n2:L4:L5:L2:L0), (n3)<-[r1]-(n4:L1)<-[:T4]-(n5:L0) RETURN *

Query 2:

MATCH (n5:L0)-[:T4]->(n4:L1)-[r1]->(n3), (n1:L5:L4)-[:T1|T3]->(n2:L4:L5:L2:L0) RETURN *

Environments

  • OS: Linux nn 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • CPU: 13th Gen Intel(R) Core(TM) i5-13400
  • Nebula Graph Version: v3.5.0

How To Reproduce

Steps to reproduce the behavior:

  1. Execute the statements in create.log to set up a fresh database.
  2. Run both of the aforementioned queries and check the results.

Expected behavior
The results from the two queries, despite both having 4186 rows, yield different content.

@polyominal polyominal added the type/bug Type: something is unexpected label Jul 8, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant