You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2015/01/06 07:06:34 UTC

[jira] [Updated] (DRILL-1935) Use single quote around encoding type in ExpressionStringBuilder.visitConvertExpression()

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

Aditya Kishore updated DRILL-1935:
----------------------------------
    Attachment: DRILL-1935-Use-single-quote-around-encoding-type-in-.patch

Trivial patch.

> Use single quote around encoding type in ExpressionStringBuilder.visitConvertExpression()
> -----------------------------------------------------------------------------------------
>
>                 Key: DRILL-1935
>                 URL: https://issues.apache.org/jira/browse/DRILL-1935
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 0.7.0
>            Reporter: Aditya Kishore
>            Assignee: Aditya Kishore
>             Fix For: 0.8.0
>
>         Attachments: DRILL-1935-Use-single-quote-around-encoding-type-in-.patch
>
>
> As per Drill logical expression grammar, only single quoted values are treated as String.
> Without this change, submitting a physical plan fails with {{java.lang.RuntimeException: Encountered an illegal char on line 1, column 80: ''}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)