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/01/10 23:50:00 UTC

[jira] [Updated] (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 updated DRILL-6960:
--------------------------------
    Summary: Auto Limit Wrapping should not apply to non-select query  (was: Auto wrapping with LIMIT query should not apply to non-select queries)

> 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: Major
>              Labels: user-experience
>             Fix For: 1.16.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> [~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)