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

[BUG] Unexpected alias maintenance in the new GOpt-based compilation stack #3792

Closed
BingqingLyu opened this issue May 13, 2024 · 1 comment
Closed
Assignees

Comments

@BingqingLyu
Copy link
Collaborator

Describe the bug
In the new GOpt-based compilation stack, there exist some bugs in alias maintenance.

For example, on modern graph:

gremlin> g.V(1).outE("knows").as("here").has("weight", 1.0d).as("fake").inV().has("name", "josh").select("here")
{alias=here} not found; expected aliases are: [fake, _]

This is not as expected.

Another case, though is not occurred by alias maintenance, is:

gremlin> g.V().select("a").count()
{alias=a} not found; expected aliases are: [_]

while the expected output is "0".

@shirly121
Copy link
Collaborator

Compared to Gremlin's native implementation, we have type inference functionality, and we will directly throw an error for non-existent aliases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants