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

Datatype statements in CAST operations are case-sensitive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 4.0.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: