We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36966f9 commit be12431Copy full SHA for be12431
src/main/java/com/alipay/oceanbase/rpc/table/ObTableClientQueryImpl.java
@@ -176,7 +176,7 @@ private AbstractQueryStreamResult commonExecute(InitQueryResultCallback<Abstract
176
if (obTableClient.isOdpMode()) {
177
if (tableQuery.getScanRangeColumns().isEmpty()) {
178
if (tableQuery.getIndexName() != null
179
- && !tableQuery.getIndexName().equalsIgnoreCase("primary")) {
+ && !tableQuery.getIndexName().equalsIgnoreCase("primary") && !tableQuery.isFTSQuery()) {
180
throw new ObTableException("key range columns must be specified when use index");
181
}
182
0 commit comments