[
https://issues.apache.org/jira/browse/PHOENIX-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342849#comment-15342849
]
Josh Elser edited comment on PHOENIX-3013 at 6/21/16 10:04 PM:
---------------------------------------------------------------
Looks fine to me. I can commit this if Samarth is tied up.
was (Author: elserj):
Looks fine to me. I can commit this is Samarth is tied up.
> 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)