[ 
https://issues.apache.org/jira/browse/GORA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251065#comment-13251065
 ] 

Enis Soztutar commented on GORA-116:
------------------------------------

By applying a schema over the key space, Gora effectively requires that the 
split points have the same form with the rows. But they don't have to be actual 
values from the table, right?
Two solutions come to my mind: Either require the split points to conform to 
the key-schema (which is the case right now), or convert the split points to a 
comparable binary form (by filling or truncating), ie. convert single byte to 8 
bytes, then convert to long. Thoughts?  
                
> gora treats split points as if they represent actual values in the table
> ------------------------------------------------------------------------
>
>                 Key: GORA-116
>                 URL: https://issues.apache.org/jira/browse/GORA-116
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: storage-hbase
>            Reporter: Eric Newton
>            Priority: Minor
>
> Doing goraci testing with the hbase back-end for gora.  I created single-byte 
> split points.  When I tried to map-reduce over the table, the gora back-end 
> failed trying to convert the split points into Longs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to