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

Lars Hofhansl commented on HBASE-13159:
---------------------------------------

Exactly. Now the transformation thingy will need a lot of thought. F.e. do 
filters see the transformed data or are they themselves transformed (I think 
the former, but would have to think through it). Was also up to this point only 
thinking about simple key transformations (in our case to switch tenant ids).

> Consider RangeReferenceFiles with transformations
> -------------------------------------------------
>
>                 Key: HBASE-13159
>                 URL: https://issues.apache.org/jira/browse/HBASE-13159
>             Project: HBase
>          Issue Type: Brainstorming
>            Reporter: Lars Hofhansl
>
> Currently we have References used by HalfStoreReaders and HFileLinks.
> For various use cases we have here we have need for a RangeReferences with 
> simple transformation of the keys.
> That would allow us to map HFiles between regions or even tables without 
> copying any data.
> We can probably combine HalfStores, HFileLinks, and RangeReferences into a 
> single concept:
> * RangeReference = arbitrary start and stop row, arbitrary key transformation
> * HFileLink = start and stop keys set to the linked file's start/stop key, 
> transformation = identity
> * (HalfStore) References = start/stop key set according to top or bottom 
> reference, transformation = identity
> Note this is a *brainstorming* issue. :)
> (Could start with just references with arbitrary start/stop keys, and do 
> transformations later)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to