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

Hudson commented on PHOENIX-3013:
---------------------------------

SUCCESS: Integrated in Phoenix-master #1284 (See 
[https://builds.apache.org/job/Phoenix-master/1284/])
PHOENIX-3013 TO_CHAR fails to handle indexed null value (Junegunn Choi) 
(elserj: rev bfda226ee2c89dd57a5d3a6fa4552980775bc525)
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ToCharFunction.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ToCharFunctionIT.java


> TO_CHAR fails to handle indexed null value
> ------------------------------------------
>
>                 Key: PHOENIX-3013
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3013
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Junegunn Choi
>            Assignee: Junegunn Choi
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-3013.patch
>
>
> h3. Steps to reproduce
> {code:sql}
> create table t (id integer primary key, ts1 timestamp, ts2 timestamp);
> create index t_ts2_idx on t (ts2);
> upsert into t values (1, null, null);
> -- OK
> select to_char(ts1) from t;
> -- java.lang.IllegalArgumentException: Unknown class: <null>
> select to_char(ts2) from t;
> {code}



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

Reply via email to