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

Samarth Jain commented on PHOENIX-3013:
---------------------------------------

That would be much appreciated, [~elserj] :). 

> 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