[ 
https://issues.apache.org/jira/browse/PHOENIX-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15631342#comment-15631342
 ] 

Hudson commented on PHOENIX-3423:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-master #1470 (See 
[https://builds.apache.org/job/Phoenix-master/1470/])
PHOENIX-3423 PhoenixObjectInspector doesn't have information on length (ssa: 
rev b477f370c0519d5f5385927d3809fb4a5433a2ec)
* (edit) 
phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixCharObjectInspector.java
* (edit) 
phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixObjectInspectorFactory.java


> 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
>    Affects Versions: 4.8.0
>            Reporter: Jeongdae Kim
>            Assignee: Jeongdae Kim
>             Fix For: 4.9.0
>
>         Attachments: PHOENIX-3423.patch
>
>
> PhoenixObjectInspector doesn't have information on length of the column. this 
> causes making incorrect constant valuesfor char columns in select statement 
> because of padding spaces with max length(255), 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)

Reply via email to