alibaba / alibaba/GraphScope

[BUG] Type inconsistency between constant and property type is not throwed in compiler

Open
#3,409 2 comments 0 reactions 2 assignees Claimed by @shirly121 View on GitHub
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

```cypher
MATCH (p:Paper)-[:HasField]->(f1:CCFField),
(p1:Paper)-[:HasField]->(f2:CCFField),
(p)-[c:Citation]->(p1)
WHERE f1.id = 0 AND f2.id <> f1.id
RETURN distinct p, p1;
```

f1.id's type is `int64`, 0 is parsed as Integer in java, should report error in compiler.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.