You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2021/12/23 12:14:00 UTC

[jira] [Created] (DRILL-8090) LIMIT clause is pushed down to an invalid OFFSET-FETCH clause for MS SQL Server

James Turton created DRILL-8090:
-----------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)