You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/11 21:54:42 UTC

[jira] [Created] (PHOENIX-835) Datatype statements in CAST operations are case-sensitive

Gabriel Reid created PHOENIX-835:
------------------------------------

             Summary: 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



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)