[
https://issues.apache.org/jira/browse/PHOENIX-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923261#comment-13923261
]
Hudson commented on PHOENIX-63:
-------------------------------
SUCCESS: Integrated in Apache Phoenix - Branch:master #115 (See
[https://builds.apache.org/job/Phoenix/115/])
Add test case (ignored) for PHOENIX-63 Can't add null value to a secondary
indexed table (maryannxue: rev b44ad86aa88cd620fc19d9746eea6d0272b1345c)
*
phoenix-core/src/test/java/org/apache/phoenix/end2end/index/MutableIndexTest.java
> Can't add null value to a secondary indexed table
> -------------------------------------------------
>
> Key: PHOENIX-63
> URL: https://issues.apache.org/jira/browse/PHOENIX-63
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 2.2.3
> Reporter: job thomas
>
> I have created a Phoenix table like this
> CREATE TABLE DEMO(R VARCHAR PRIMARY KEY,A DOUBLE,C VARCHAR);
> Then created index
> CREATE INDEX DEMO_idx ON DEMO (A) INCLUDE(C);
> upsert into DEMO values('cc1',null,'abc');
> select * from DEMO;
> No Data Found !!
>
> Problem is when adding null value to the second column(A)
>
> If a created index without include key
> CREATE INDEX DEMO_idx ON DEMO (A) ;
> (OR)
> CREATE INDEX DEMO_idx ON DEMO (A,C);
>
> The same will work properly.
>
> What will be the reason with include and null value insert?
--
This message was sent by Atlassian JIRA
(v6.2#6252)