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

MINUS/INTERSECT not supported for MATCH statement #4935

Closed
yixinglu opened this issue Nov 25, 2022 · 1 comment
Closed

MINUS/INTERSECT not supported for MATCH statement #4935

yixinglu opened this issue Nov 25, 2022 · 1 comment
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@yixinglu
Copy link
Contributor

yixinglu commented Nov 25, 2022

Please check the FAQ documentation before raising an issue

Describe the bug (required)

MINUS/INTERSECT not supported for following MATCH statement

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:

(root@nebula) [sf100]> MATCH (person:Person)-[:KNOWS]-(friend) WHERE id(person) == "p-65504" RETURN person MINUS MATCH (person:Person)-[:KNOWS]-(friend) WHERE id(person) == "p-65504" RETURN person
[ERROR (-1004)]: SyntaxError: syntax error near `MINUS'

Sat, 26 Nov 2022 01:30:58 CST

Expected behavior

Additional context

@yixinglu yixinglu added the type/bug Type: something is unexpected label Nov 25, 2022
@yixinglu yixinglu changed the title MINUS not supported for MATCH statement MINUS/INTERSECT not supported for MATCH statement Nov 25, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Nov 27, 2022
@Shylock-Hg Shylock-Hg self-assigned this Nov 28, 2022
@Shylock-Hg
Copy link
Contributor

Shylock-Hg commented Nov 28, 2022

I think it's by design. Open Cypher only supports UNION operation.

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