[
https://issues.apache.org/jira/browse/PHOENIX-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid updated PHOENIX-835:
---------------------------------
Attachment: PHOENIX-835.patch
Patch to make the datatype clause in cast statements case-insensitive.
> Datatype statements in CAST operations are case-sensitive
> ---------------------------------------------------------
>
> Key: PHOENIX-835
> URL: https://issues.apache.org/jira/browse/PHOENIX-835
> Project: Phoenix
> Issue Type: Bug
> Reporter: Gabriel Reid
> Attachments: PHOENIX-835.patch
>
>
> The datatype clause in cast exceptions are case sensitive, although they’re
> not case sensitive in a create table statement. For example,
> {code}
> select (cast id as INTEGER) from mytab;
> {code}
> will work, but
> {code}
> select (cast id as integer) from mytab;
> {code}
> gives a parse error.
--
This message was sent by Atlassian JIRA
(v6.2#6252)