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

Calling a function on a CHAR returns the padded

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.6.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      HDP 2.3.4 with Phoenix 4.4 on Calcite 1.5; also Phoenix 4.6.0 on Calcite 1.3

      Description

      select (char_col1) from table
      select UPPER(char_col1) from table
      select LOWER(char_col1) from table
      select COALESCE(char_col1, char_col2) from table

      The first returns an unpadded string as expected. The others returns a padded string

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kliew Kevin Liew
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: