HBase
  1. HBase
  2. HBASE-1028

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change
    1. 1028.patch
      0.7 kB
      Andrew Purtell

      Issue Links

        Activity

        Hide
        Andrew Purtell added a comment -

        Will the attached patch do the trick?

        Show
        Andrew Purtell added a comment - Will the attached patch do the trick?
        Hide
        stack added a comment -

        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.

        Show
        stack added a comment - 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.
        Hide
        stack added a comment -

        Are others ok w/ this change?

        Show
        stack added a comment - Are others ok w/ this change?
        Hide
        Jim Kellerman added a comment -

        +1

        Show
        Jim Kellerman added a comment - +1
        Hide
        Andrew Purtell added a comment -

        Committed.

        Show
        Andrew Purtell added a comment - Committed.

          People

          • Assignee:
            Andrew Purtell
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development