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

Remove the upper limitation of path length #3876

Closed
jackwener opened this issue Feb 10, 2022 · 1 comment · Fixed by #3881
Closed

Remove the upper limitation of path length #3876

jackwener opened this issue Feb 10, 2022 · 1 comment · Fixed by #3881
Assignees
Labels
type/enhancement Type: make the code neat or more efficient
Milestone

Comments

@jackwener
Copy link
Contributor

Introduction

匹配变长路径
用户可以在模式中使用:<edge_type>*[minHop]..<maxHop>匹配变长路径

maxHop | 必选项。表示路径的最大长度。maxHop必须是一个非负整数,没有默认值。

The purpose in the past is for reminding user to think the risks of this operation.

Reason

LDBC query need -[:edge*0..]-.

What's more, Nebula already has the ability to kill query, so we can handle the incorrect usage better than in the past.

@jackwener jackwener added the type/enhancement Type: make the code neat or more efficient label Feb 10, 2022
@jackwener jackwener self-assigned this Feb 10, 2022
@Shylock-Hg
Copy link
Contributor

Agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants