You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/11/26 01:19:44 UTC

[jira] Created: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

If key does not exist, return null in getRow rather than an empty RowResult
---------------------------------------------------------------------------

                 Key: HBASE-1028
                 URL: https://issues.apache.org/jira/browse/HBASE-1028
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-1028:
----------------------------------

    Fix Version/s: 0.19.0
           Status: Patch Available  (was: Open)

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651493#action_12651493 ] 

Jim Kellerman commented on HBASE-1028:
--------------------------------------

+1

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-1028:
----------------------------------

    Attachment: 1028.patch

Will the attached patch do the trick?

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-1028:
----------------------------------

    Resolution: Fixed
      Assignee: Andrew Purtell
        Status: Resolved  (was: Patch Available)

Committed.

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Andrew Purtell
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651481#action_12651481 ] 

stack commented on HBASE-1028:
------------------------------

Are others ok w/ this change?

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1028) If key does not exist, return null in getRow rather than an empty RowResult

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651480#action_12651480 ] 

stack commented on HBASE-1028:
------------------------------

That'll do it.

This is an incompatible change.  This may break some client implementations.   I think we should go for it though.  Its the old school DBMS difference between null and empty value.  We were conflating the two always returning empty value.

> If key does not exist, return null in getRow rather than an empty RowResult
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-1028
>                 URL: https://issues.apache.org/jira/browse/HBASE-1028
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.0
>
>         Attachments: 1028.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.