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

Argument return error #4981

Closed
yixinglu opened this issue Dec 3, 2022 · 0 comments · Fixed by #5007
Closed

Argument return error #4981

yixinglu opened this issue Dec 3, 2022 · 0 comments · Fixed by #5007
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@yixinglu
Copy link
Contributor

yixinglu commented Dec 3, 2022

Please check the FAQ documentation before raising an issue

Describe the bug (required)

dataset is sf10 of LDBC:

(root@nebula) [sf10]> """
                   -> MATCH (person:Person)-[:KNOWS]-(friend)
                   -> WHERE id(person) == "p-24189255811776"
                   -> WITH person, collect(id(friend)) AS friends
                   -> MATCH (person:Person)-[:KNOWS*2]-(friend)-[:IS_LOCATED_IN]->(city:Place)
                   -> WHERE id(friend) != "p-24189255811776" AND id(friend) NOT IN friends
                   -> WITH person, city, friend, datetime(friend.Person.birthday) as birthday
                   -> WHERE (birthday.month==3 AND birthday.day>=21) OR
                   ->         (birthday.month==(3%12)+1 AND birthday.day<22)
                   -> WITH DISTINCT friend AS f, city AS c, person AS p
                   -> OPTIONAL MATCH (f)<-[:POST_HAS_CREATOR]-(post:Post)
                   -> OPTIONAL MATCH (post)-[e:HAS_TAG]->()<-[:HAS_INTEREST]-(p)
                   -> with f AS friend, c AS city, post, case when count(e) > 0 then 1 else 0 END as cnt
                   -> with friend, city, sum(cnt) AS commonPostCount, count(post) AS postCount
                   -> RETURN toInteger(substr(id(friend), 2)) AS personId,
                   ->        friend.Person.firstName AS personFirstName,
                   ->        friend.Person.lastName AS personLastName,
                   ->        commonPostCount - (postCount - commonPostCount) AS commonInterestScore,
                   ->        friend.Person.gender AS personGender,
                   ->        city.Place.name AS personCityName
                   -> ORDER BY commonInterestScore DESC, personId ASC
                   -> LIMIT 10
                   -> """
[ERROR (-1005)]: Argument only support vertex, but got NULL, which is type __NULL__,

Sat, 03 Dec 2022 19:52:46 CST

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

@yixinglu yixinglu added the type/bug Type: something is unexpected label Dec 3, 2022
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Dec 3, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Dec 5, 2022
@yixinglu yixinglu linked a pull request Dec 6, 2022 that will close this issue
11 tasks
@yixinglu yixinglu closed this as completed Dec 6, 2022
@github-actions github-actions bot added the process/fixed Process of bug label Dec 6, 2022
@Hester-Gu Hester-Gu added the process/done Process of bug label Jan 13, 2023
@github-actions github-actions bot removed the process/fixed Process of bug label Jan 13, 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. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants