Cannot query with aggregation because offset 0; limit 30; is always added to query.
Environment
Grakn version: Grakn Core 2.0.1
OS of Grakn server: Linux Mint 20.1 Cinnamon
Workbase version: 2.0.1
OS of Workbase: Linux Mint 20.1 Cinnamon
Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
Query:
match
$d isa device;
(from: $d) isa sim-rank, has coefficient > 0.5;
get $d; count; offset 0; limit 30;
I cannot run it without offset 0; limit 30; because it is added by default.
Error
Error: 13 INTERNAL: [GQL03] Graql Error: There is a syntax error at line 4:get $d; count; offset 0; limit 30; ^mismatched input 'offset' expecting {'match', 'define', 'undefine', 'insert', 'compute'} Please check server logs for the stack trace.
Description
Cannot query with aggregation because
offset 0; limit 30;
is always added to query.Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
I cannot run it without
offset 0; limit 30;
because it is added by default.Expected Output
I can specify if I want use offset+limit.
Actual Output
It is not possible right now.
Additional information