-
Notifications
You must be signed in to change notification settings - Fork 443
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
[BUG] Unexpected Type Inference in PathExpand #3730
Comments
/cc @shirly121, this issus/pr has had no activity for for a long time, could you folks help to review the status ?
|
Fixed in #3837 |
There leaves a bug in the type infer in PathExpand. For example, running the following query on LDBC dataset,
The inferred type of PathExpandBase within PathExpand is: While here the I guess, the reason is that the direction is not correctly considered in path, since forum only has out-neighbors in schema, but in this case, the expand direction is IN. |
Describe the bug
On LDBC Dataset (sf=0.1), we can run the following two queries:
while a simiilar query in cypher is:
The results in the Cypher is empty, which is not as expected. The reason is that, in this case, the type inference tells that the type of
c
should beisLocatedIn
(from the edge type thatPerson-isLocatedIn-Place
). However, in PathExpand, this is not as expected. The path could be likePerson-Knows[4..5]-Person-IsLocatedIn-Place
, etc.The text was updated successfully, but these errors were encountered: