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:38:00 UTC
[jira] [Updated] (DRILL-8090) LIMIT clause is pushed down to an invalid OFFSET-FETCH clause for MS SQL Server
[ 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)