You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2019/04/04 18:50:00 UTC

[jira] [Resolved] (DRILL-6960) Auto Limit Wrapping should not apply to non-select query

     [ https://issues.apache.org/jira/browse/DRILL-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kunal Khatua resolved DRILL-6960.
---------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.17.0)
                   1.16.0

Marked as \{{Duplicate}} since the issue is resolved with PR for DRILL-7048, which is a superset of this.

> Auto Limit Wrapping should not apply to non-select query
> --------------------------------------------------------
>
>                 Key: DRILL-6960
>                 URL: https://issues.apache.org/jira/browse/DRILL-6960
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Web Server
>    Affects Versions: 1.16.0
>            Reporter: Kunal Khatua
>            Assignee: Kunal Khatua
>            Priority: Blocker
>              Labels: doc-impacting, user-experience
>             Fix For: 1.16.0
>
>
> [~IhorHuzenko] pointed out that DRILL-6050 can cause submission of queries with incorrect syntax. 
> For example, when user enters {{SHOW DATABASES}}' and after limitation wrapping {{SELECT * FROM (SHOW DATABASES) LIMIT 10}} will be posted. 
> This results into parsing errors, like:
> {{Query Failed: An Error Occurred org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: Encountered "( show" at line 2, column 15. Was expecting one of: <IDENTIFIER> ... }}.
> The fix should involve a javascript check for all non-select queries and not apply the LIMIT wrap for those queries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)