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

Variable in LIMIT clause #705

Closed
ziflex opened this issue Dec 9, 2021 · 0 comments · Fixed by #706
Closed

Variable in LIMIT clause #705

ziflex opened this issue Dec 9, 2021 · 0 comments · Fixed by #706
Labels
area/parser Parser issue area/runtime Runtime issue type/bug Something isn't working

Comments

@ziflex
Copy link
Member

ziflex commented Dec 9, 2021

Describe the bug
Unable to use a variable as value for LIMIT clause.

To Reproduce

LET li = 2
FOR i IN 1..10
    LIMIT li
RETURN i*2

Expected behavior
Variable should be used.

@ziflex ziflex added type/bug Something isn't working area/parser Parser issue area/runtime Runtime issue labels Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/parser Parser issue area/runtime Runtime issue type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant