[
https://issues.apache.org/jira/browse/DRILL-8090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Turton updated DRILL-8090:
--------------------------------
Description: In MS SQL Server, ORDER BY is mandatory for using OFFSET and
FETCH clauses. Drill (or Calcite) does not include an ORDER BY clause in the
SQL it generates for a LIMIT clause. (was: In MS SQL Server, ORDER BY is
mandatory to use OFFSET and FETCH clause. Drill (or Calcite) does not include
an ORDER BY clause in its generated SQL.)
> LIMIT clause is pushed down to an invalid OFFSET-FETCH clause for MS SQL
> Server
> --------------------------------------------------------------------------------
>
> Key: DRILL-8090
> URL: https://issues.apache.org/jira/browse/DRILL-8090
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.19.0
> Reporter: James Turton
> Priority: Major
>
> In MS SQL Server, ORDER BY is mandatory for using OFFSET and FETCH clauses.
> Drill (or Calcite) does not include an ORDER BY clause in the SQL it
> generates for a LIMIT clause.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)