[jira] [Commented] (HBASE-27571) Get supports RAW

2023-01-17 Thread Bo Cui (Jira)


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

Bo Cui commented on HBASE-27571:


hi [~zhangduo] we may push down this limit to RawScanQueryMatcher or remove it ?

> Get supports RAW
> 
>
> Key: HBASE-27571
> URL: https://issues.apache.org/jira/browse/HBASE-27571
> Project: HBase
>  Issue Type: Improvement
>Reporter: Bo Cui
>Priority: Major
>
> [https://github.com/apache/hbase/blob/da261344cc55e7812dfe22d86d5fa88c93ed79b9/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L234]
>  
> I used the `Get` to query all put and delete in a column, but I got this error
> *Cannot specify any column for a raw scan.*
> Why add this restriction?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27571) Get supports RAW

2023-01-17 Thread Bo Cui (Jira)


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

Bo Cui commented on HBASE-27571:


and then I removed the `if (columns != null && scan.isRaw())` logic and got the 
correct answer.

My guess is that it is not sure if the family has delete operation (`delete 
't1','r1','f1',1673945640117`).

but if the consumer determines that the family  has not delete operation, we 
should allow such `Get`.

> Get supports RAW
> 
>
> Key: HBASE-27571
> URL: https://issues.apache.org/jira/browse/HBASE-27571
> Project: HBase
>  Issue Type: Improvement
>Reporter: Bo Cui
>Priority: Major
>
> [https://github.com/apache/hbase/blob/da261344cc55e7812dfe22d86d5fa88c93ed79b9/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L234]
>  
> I used the `Get` to query all put and delete in a column, but I got this error
> *Cannot specify any column for a raw scan.*
> Why add this restriction?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27571) Get supports RAW

2023-01-17 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-27571:
---

IIRC this is for simplify the implementation for ScanQueryMatcher.

> Get supports RAW
> 
>
> Key: HBASE-27571
> URL: https://issues.apache.org/jira/browse/HBASE-27571
> Project: HBase
>  Issue Type: Improvement
>Reporter: Bo Cui
>Priority: Major
>
> [https://github.com/apache/hbase/blob/da261344cc55e7812dfe22d86d5fa88c93ed79b9/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L234]
>  
> I used the `Get` to query all put and delete in a column, but I got this error
> *Cannot specify any column for a raw scan.*
> Why add this restriction?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)