You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Alfonso Nishikawa (JIRA)" <ji...@apache.org> on 2017/05/30 22:23:04 UTC

[jira] [Resolved] (GORA-510) Conform Query.setEndKey to inclusive query for HBaseStore

     [ https://issues.apache.org/jira/browse/GORA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alfonso Nishikawa resolved GORA-510.
------------------------------------
    Resolution: Fixed

> Conform Query.setEndKey to inclusive query for HBaseStore
> ---------------------------------------------------------
>
>                 Key: GORA-510
>                 URL: https://issues.apache.org/jira/browse/GORA-510
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-hbase
>    Affects Versions: 0.6, 0.7, 0.8
>            Reporter: Alfonso Nishikawa
>            Assignee: Alfonso Nishikawa
>            Priority: Minor
>              Labels: query
>             Fix For: 0.8
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The endKey query option does not work properly in HBase: Gora's query inteface defines it as 'inclusive' while HBase behaves 'exclusive'.
> The tests have been @ignored temporarily (since 2014! "nothing is more permanent than a temporary solution" ;) as shown at TestHBaseStore ([1]).
> There is a "TODO" with the message "raise an issue for HBase to allow us to specify if the endRow will be inclusive or exclusive", but HBase documentation states:
> "Note: In order to make stopRow inclusive add a trailing 0 byte"
> So: I propose to update HBaseStore to conform Gora's interface based on HBase's solution.
> [1] https://github.com/apache/gora/blob/apache-gora-0.7/gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java#L248



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)