[
https://issues.apache.org/jira/browse/PHOENIX-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved PHOENIX-658.
----------------------------------
Resolution: Fixed
Bulk resolve of closed issues imported from GitHub. This status was reached by
first re-opening all closed imported issues and then resolving them in bulk.
> [HBase Phoenix] Data insertion into the table is deleting the entire column
> for a row.
> --------------------------------------------------------------------------------------
>
> Key: PHOENIX-658
> URL: https://issues.apache.org/jira/browse/PHOENIX-658
> Project: Phoenix
> Issue Type: Task
> Reporter: Y. SREENIVASULU REDDY
>
> insert data into the table in the following manner
> UPSERT INTO TEST(NO,NAME) VALUES(5,'');
> scan the table using sql queries.
> select * from TEST;
> OUTPUT:
> no name
> --- ---------
> 5 <null>
> here actually inserting value is empty key (eg: start key of the table.)
> it is treating as null.
> in HBase shell scan result is as follows
> hbase(main):027:0>scan 'TEST', {RAW => TRUE, VERSIONS => 10}
> ROW COLUMN+CELL
> \X80\X00\X00\X05 column=_0:NAME,
> timestamp=1380901493614, type=DeleteColumn
> \X80\X00\X00\X05 column=_0:NAME,
> timestamp=1380897239860, value=
--
This message was sent by Atlassian JIRA
(v6.2#6252)