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 975f59e commit e655f24Copy full SHA for e655f24
src/main/java/com/alipay/oceanbase/hbase/util/OHAdmin.java
@@ -80,7 +80,7 @@ public boolean tableExists(TableName tableName) throws IOException {
80
int errCode = ((ObTableException) cause).getErrorCode();
81
// if the original cause is database_not_exist, means namespace in tableName does not exist
82
// for HBase, namespace not exist will not throw exceptions but will return false
83
- if (errCode == ResultCodes.OB_ERR_BAD_DATABASE.errorCode) {
+ if (errCode == ResultCodes.OB_KV_HBASE_NAMESPACE_NOT_FOUND.errorCode) {
84
return false;
85
}
86
0 commit comments