Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/java/com/alipay/oceanbase/hbase/OHTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,9 @@ public ResultScanner getScanner(final Scan scan) throws IOException {
return execute(new OperationExecuteCallback<ResultScanner>(OHOperationType.SCAN, 1 /* batchSize */) {
@Override
ResultScanner execute() throws IOException {
if (!scan.getCacheBlocks()) {
throw new FeatureNotSupportedException("scan setCacheBlocks interface not supported");
}
if (scan.getFamilyMap().keySet().isEmpty()) {
if (!FeatureSupport.isEmptyFamilySupported()) {
throw new FeatureNotSupportedException("empty family scan not supported yet within observer version: " + ObGlobal.obVsnString());
Expand Down