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

Calling a function on a CHAR returns the padded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated: