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 match execution result was incorrect #4193

Closed
svenwei opened this issue Apr 21, 2022 · 1 comment
Closed

The match execution result was incorrect #4193

svenwei opened this issue Apr 21, 2022 · 1 comment
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@svenwei
Copy link

svenwei commented Apr 21, 2022

Describe the bug (required)
This is a recommended real-time scenario. Users can buy goods that are similar to what they buy themselves.

Simple describe
u1 buy g1 g2 g3
u2 buy g2 g3 g4 g5
u3 buy g2 g3 g6

Query by u1 can get g4 g5 or g6

explain format = 'dot'
match (u1:person) -->(g1:goods) <--(u2:person)
where id(u1)=='p1'
match (u2)-->(x:goods) 
where id(g1)<>id(x) 
return distinct(x) 

image

Your Environments (required)

  • OS: Linux xxx 5.15.10-1.el7.elrepo.x86_64 Parser framework #1 SMP Fri Dec 17 08:57:16 EST 2021 x86_64 x86_64 x86_64 GNU/Linux

  • Compiler: rpm install

  • CPU:
    [root@k8smaster ~]# lscpu
    Architecture: x86_64
    CPU op-mode(s): 32-bit, 64-bit
    Byte Order: Little Endian
    CPU(s): 4
    On-line CPU(s) list: 0-3
    Thread(s) per core: 1
    Core(s) per socket: 4
    座: 1
    NUMA 节点: 1
    厂商 ID: GenuineIntel
    CPU 系列: 6
    型号: 60
    型号名称: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz

  • nebula version: 3.0.2

How To Reproduce(required)

match (u1:person) -->(g1:goods) <--(u2:person)
where id(u1)=='p1'
match (u2)-->(x:goods) 
where id(g1)<>id(x) 
return distinct(x)
``

**Expected behavior**
g4,g5,g6

but get none;

@svenwei svenwei added the type/bug Type: something is unexpected label Apr 21, 2022
@Sophie-Xie
Copy link
Contributor

fixed in #4143

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