[ https://issues.apache.org/jira/browse/DRILL-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219893#comment-14219893 ]
Deneche A. Hakim commented on DRILL-1373: ----------------------------------------- While the patch does indeed display the error message in the Web UI. The current implementation doesn't actually report back enough information about the SQL error. For example, the following query: {code} show databases; {code} generates the following error message: {code} Query failed. {code} > Executing a query with a semi-colon as the last character causes 500 error in > the query GUI > ------------------------------------------------------------------------------------------- > > Key: DRILL-1373 > URL: https://issues.apache.org/jira/browse/DRILL-1373 > Project: Apache Drill > Issue Type: Bug > Components: Client - HTTP > Affects Versions: 0.4.0 > Environment: MapR Hadoop 3.1.1 > Reporter: Michael England > Assignee: Deneche A. Hakim > Priority: Minor > Fix For: 0.8.0 > > Attachments: DRILL-1373.1.patch.txt > > > Attempting to execute a query on the Query GUI page (http://node:8047/query) > that contains a semi-colon at the end of the query statement results in a 500 > error. > e.g. select count(*) from storageplugin.workspace; > Removing the semi-colon returns the query result successfully. -- This message was sent by Atlassian JIRA (v6.3.4#6332)