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

OPTIONAL MATCH Error CypherException: Function not implemented yet: visitOC_SinglePartQuery at :210 #607

Closed
johnmai-dev opened this issue Jul 23, 2024 · 3 comments

Comments

@johnmai-dev
Copy link

Environment:
在阿里云计算巢购买的 tugraph
Google Chrome 2024-07-23 22 13 31

Describe the bug

执行下面的cypher会报错,在neo4j是正常执行的

MATCH (k:K)
WHERE k.Id IN ['1']
OPTIONAL MATCH path1 = (k)-[*1..3]-(e:E)
OPTIONAL MATCH path2 =(k)-[*1..3]-(m:M)
OPTIONAL MATCH path3 =(k)-[*1..3]-(l:L)
RETURN path1,path2,path3
image
@zhangwh807
Copy link
Collaborator

我们目前还未支持多个match并列,您可以尝试一下这样的写法

MATCH (k:K)
WHERE k.Id IN ['1']
WITH k as a
OPTIONAL MATCH path = (a)-[*1..3]-(e:E)
return path
UNION ALL
MATCH (k:K)
WHERE k.Id IN ['1']
WITH k as a
OPTIONAL MATCH path =(a)-[*1..3]-(m:M)
return path
UNION ALL
MATCH (k:K)
WHERE k.Id IN ['1']
WITH k as a
OPTIONAL MATCH path =(a)-[*1..3]-(l:L)
RETURN path

Copy link

Hello @johnmai-dev. Please provide more info for debugging. Issues labeled by more info needed will be closed if no activities in 7 days.

你好 @johnmai-dev, 我们需要你提供更多信息以便于排查问题。7 天内未跟进此 issue 将会被自动关闭。

Copy link

github-actions bot commented Jan 2, 2025

Since this issue was labeled as "more info needed" but no response has been received for 15 days. Now the issue is closed. Please feel free to create a new one with more info if you have more questions.

由于该 issue 被标记为需要更多信息,却 15 天未收到回应。现关闭 issue,若有任何问题,可另开 issue 并提供更多信息。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants