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

fix(interactive): Add error handling for expression parsing and support get global id for edge #4228

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zhanglei1949
Copy link
Collaborator

@zhanglei1949 zhanglei1949 commented Sep 12, 2024

  • Wrap the errors may occurred when parsing the expression.
  • Support getting the global id of edges.
  • Add file,function and line info when returning errors.

Fix #4226

…g edge element id(global_id)

Committed-by: xiaolei.zl from Dev container
} else if (pt.has_label()) {
getter_ = create_edge_label_path_accessor(ctx, tag);
var.getter_ = create_edge_label_path_accessor(ctx, tag);
} else if (pt.has_id()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Support getting edge global id.

Copy link
Contributor

Please check the preview of the documentation changes at
https://18edab97.graphscope-docs-preview.pages.dev

@zhanglei1949
Copy link
Collaborator Author

This PR need to be reviewed, since introducing error handling for expression could be expressive. We will fix the problem first via this PR: #4230

@zhanglei1949 zhanglei1949 marked this pull request as draft September 24, 2024 02:40
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

Successfully merging this pull request may close these issues.

System crash while querying elementId on e
2 participants