Kevin Liew created PHOENIX-2766:
-----------------------------------

             Summary: Calling a function on a CHAR returns the padded
                 Key: PHOENIX-2766
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2766
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.6.0
         Environment: HDP 2.3.4 with Phoenix 4.4 on Calcite 1.5; also Phoenix 
4.6.0 on Calcite 1.3
            Reporter: Kevin Liew
            Priority: Minor


{code:sql}select (loc_id) from dept{code}
{code:sql}select UPPER(loc_id) from dept{code}
{code:sql}select LOWER(loc_id) from dept{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to