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

插入边, 但是一个节点是不存在的情况下, go和match查询返回不一致 #5991

Open
eye-gu opened this issue Dec 19, 2024 · 0 comments
Labels
affects/none PR/issue: this bug affects none version. severity/none Severity of bug type/bug Type: something is unexpected

Comments

@eye-gu
Copy link

eye-gu commented Dec 19, 2024

Please check the FAQ documentation before raising an issue

CREATE SPACE `test` (partition_num = 10, vid_type = FIXED_STRING(10)) 

CREATE tag `s_object` (`name` string NOT NULL) ;
CREATE tag `s_subject` (`name` string NOT NULL) ;

CREATE edge `is_a` () ;

insert vertex `s_subject`(name) values "1000000001":("subject1");
insert vertex `s_object`(name) values "2000000001":("object1");

INSERT EDGE is_a() VALUES "1000000001"->"2000000001":();
-- 1000000002 并不存在
INSERT EDGE is_a() VALUES "1000000002"->"2000000001":();
GO FROM "2000000001" OVER is_a REVERSELY YIELD $$.s_subject.name

返回结果:
subject1
NULL

match (s) -[e:is_a]-> (o)
where id(o) == '2000000001'
return s.s_subject.name

返回结果:
subject1

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

@eye-gu eye-gu added the type/bug Type: something is unexpected label Dec 19, 2024
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Dec 19, 2024
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