occupy code for show table status

This commit is contained in:
18523270951@163.com
2024-01-12 07:42:58 +00:00
committed by ob-robot
parent 6584479600
commit 41776006da
3 changed files with 6 additions and 1 deletions

View File

@ -862,6 +862,8 @@ typedef enum ObItemType
T_FUN_SYS_WORD_COUNT = 1811,
T_FUN_SYS_BM25 = 1812,
T_FUN_SYS_TRANSACTION_ID = 1813,
T_FUN_SYS_INNER_TABLE_OPTION_PRINTER = 1814,
T_FUN_SYS_INNER_TABLE_SEQUENCE_GETTER = 1815,
T_FUN_SYS_END = 2000,
T_FUN_SYS_ALIGN_DATE4CMP = 2010,

View File

@ -1112,6 +1112,8 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = {
NULL, // ObExprWordCount::generate_word_count, /* 669 */
NULL, // ObExprBM25::eval_bm25_relevance_expr, /* 670 */
ObExprTransactionId::eval_transaction_id, /* 671 */
NULL, //ObExprInnerTableOptionPrinter::eval_inner_table_option_printer, /* 672 */
NULL, //ObExprInnerTableSequenceGetter::eval_inner_table_sequence_getter, /* 673 */
};
static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {

View File

@ -7888,7 +7888,8 @@ int ObRawExprResolverImpl::check_internal_function(const ObString &name)
bool exist = false;
bool is_internal = false;
if (OB_FAIL(ret)) {
} else if (ctx_.session_info_->is_inner()) {
} else if (ctx_.session_info_->is_inner()
|| is_sys_view(ctx_.view_ref_id_)) {
// ignore
} else if (FALSE_IT(ObExprOperatorFactory::get_internal_info_by_name(name, exist, is_internal))) {
} else if (exist && is_internal) {