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.
2 parents 9f03f84 + b0c76e7 commit 937aaf0Copy full SHA for 937aaf0
src/main/java/com/alipay/oceanbase/hbase/util/OHAdmin.java
@@ -99,7 +99,7 @@ public boolean tableExists(TableName tableName) throws IOException {
99
int errCode = ((ObTableException) cause).getErrorCode();
100
// if the original cause is database_not_exist, means namespace in tableName does not exist
101
// for HBase, namespace not exist will not throw exceptions but will return false
102
- if (errCode == ResultCodes.OB_ERR_BAD_DATABASE.errorCode) {
+ if (errCode == ResultCodes.OB_KV_HBASE_NAMESPACE_NOT_FOUND.errorCode) {
103
return false;
104
}
105
0 commit comments