Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-835

Datatype statements in CAST operations are case-sensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 4.0.0
    • None
    • None

    Description

      The datatype clause in cast exceptions are case sensitive, although they’re not case sensitive in a create table statement. For example,

      select (cast id as INTEGER) from mytab;
      

      will work, but

      select (cast id as integer) from mytab;
      

      gives a parse error.

      Attachments

        1. PHOENIX-835.2.patch
          2 kB
          Gabriel Reid
        2. PHOENIX-835.patch
          2 kB
          Gabriel Reid

        Activity

          People

            gabriel.reid Gabriel Reid
            gabriel.reid Gabriel Reid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: