You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following query:
select from V order by x SKIP 5 LIMIT 10
Results in:
com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #32: Ordering mode 'SKIP' not supported. Valid is 'ASC', 'DESC' or nothing ('ASC' by default)
Command: select from V order by x SKIP 5 LIMIT 10
However, the following queries all work:
select from V order by x LIMIT 10
select from V order by x LIMIT 10 SKIP 5
select from V order by x ASC SKIP 5 LIMIT 10
It is a syntax parsing issue with the location of SKIP. Oddly enough, LIMIT can follow an order by without the direction specified.
The text was updated successfully, but these errors were encountered:
orientdb-1.6.0-SNAPSHOT (within a few days)
The following query:
select from V order by x SKIP 5 LIMIT 10
Results in:
com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #32: Ordering mode 'SKIP' not supported. Valid is 'ASC', 'DESC' or nothing ('ASC' by default)
Command: select from V order by x SKIP 5 LIMIT 10
However, the following queries all work:
select from V order by x LIMIT 10
select from V order by x LIMIT 10 SKIP 5
select from V order by x ASC SKIP 5 LIMIT 10
It is a syntax parsing issue with the location of SKIP. Oddly enough, LIMIT can follow an order by without the direction specified.
The text was updated successfully, but these errors were encountered: