You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeongdae Kim (JIRA)" <ji...@apache.org> on 2016/10/28 08:45:58 UTC

[jira] [Created] (PHOENIX-3423) PhoenixObjectInspector doesn't have information on length of the column.

Jeongdae Kim created PHOENIX-3423:
-------------------------------------

             Summary: PhoenixObjectInspector doesn't have information on length of the column.
                 Key: PHOENIX-3423
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3423
             Project: Phoenix
          Issue Type: Bug
            Reporter: Jeongdae Kim


PhoenixObjectInspector doesn't have information on length of the column. this causes making incorrect constant values(with max length) for char/vchar columns in select statment, and get wrong results because of invalid filter conditions.

ex) column : r_name char(6), 
hive query : select * from r_name = 'EUROPE',
phoenix query : select * from r_name = 'EUROPE                        ' (with 249(255 - 6) tailing white spaces)




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