[
https://issues.apache.org/jira/browse/HBASE-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767236#comment-13767236
]
Nick Dimiduk commented on HBASE-9364:
-------------------------------------
Demonstrated above, 0.94/HEAD correctly handles displaying a null qualifier
value with an unbounded scan.
Over to trunk, it appears we have consistent behavior:
{noformat}
hbase(main):006:0> scan 'foo'
ROW COLUMN+CELL
r1 column=f1:,
timestamp=1379113061705, value=empty!
r1 column=f1:bar,
timestamp=1379113067612, value=baz
1 row(s) in 0.0310 seconds
{noformat}
The scan comment doesn't accept a String for its second argument.
{noformat}
hbase(main):007:0> scan 'foo', 'f1'
ROW COLUMN+CELL
ERROR: Arguments should be a hash. Failed to parse "f1", String
...
{noformat}
ColumnPrefixFilter appears to work as expected.
{noformat}
hbase(main):022:0> scan 'foo', {FILTER => "(ColumnPrefixFilter (''))"}
ROW COLUMN+CELL
r1 column=f1:,
timestamp=1379113061705, value=empty!
r1 column=f1:bar,
timestamp=1379113067612, value=baz
1 row(s) in 0.0170 seconds
{noformat}
A simple get is kind of surprising though:
{noformat}
hbase(main):024:0> get 'foo', 'r1', 'f1'
COLUMN CELL
f1: timestamp=1379113061705,
value=empty!
f1:bar timestamp=1379113067612,
value=baz
2 row(s) in 0.0090 seconds
hbase(main):025:0> get 'foo', 'r1', 'f1:'
COLUMN CELL
f1: timestamp=1379113061705,
value=empty!
f1:bar timestamp=1379113067612,
value=baz
2 row(s) in 0.0110 seconds
{noformat}
All that aside though, the point of this patch appears to be bringing the REST
interface inline with the others. That is, providing any access at all to
lonely {{foo/r1/f1:}}.
> Get request with multiple columns returns partial results
> ---------------------------------------------------------
>
> Key: HBASE-9364
> URL: https://issues.apache.org/jira/browse/HBASE-9364
> Project: HBase
> Issue Type: Bug
> Components: REST
> Affects Versions: 0.94.11
> Reporter: Vandana Ayyalasomayajula
> Assignee: Vandana Ayyalasomayajula
> Priority: Minor
> Fix For: 0.98.0, 0.96.0
>
> Attachments: HBASE-9364.00.patch, HBASE-9364.01.patch,
> hbase-9364_trunk.00.patch, HBASE-9364_trunk.01.patch,
> HBASE-9364_trunk.02.patch, HBASE-9364_trunk.02.patch,
> HBASE-9364_trunk.03.patch, HBASE-9364_trunk.03.patch
>
>
> When a GET request is issue for a table row with multiple columns and columns
> have empty qualifier like f1: , results for empty qualifiers is being
> ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira