[
https://issues.apache.org/jira/browse/DRILL-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938884#comment-14938884
]
ASF GitHub Bot commented on DRILL-3869:
---------------------------------------
Github user jaltekruse commented on the pull request:
https://github.com/apache/drill/pull/178#issuecomment-144543634
This isn't a complete solution, you can put a semi-colon in a string
literal (and maybe a column name in backticks?), so this might end up chopping
queries in half. I think this is the real reason why this bug wasn't fixed
earlier, because it needs to be handled at the parser level. Its possible that
calciate handles this and we are not making use of it.
> Trailing semicolon causes web UI to fail
> ----------------------------------------
>
> Key: DRILL-3869
> URL: https://issues.apache.org/jira/browse/DRILL-3869
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Andrew
> Assignee: Andrew
> Fix For: 1.2.0
>
>
> When submitting a query through the web UI, if the user types in a trailing
> ';' the query will fail with the error message:
> org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR:
> Encountered ";" at line 1, column 42. Was expecting one of: "OFFSET" ...
> "FETCH" ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)