Merge branch 'column_store'

Co-authored-by: wangt1xiuyi <13547954130@163.com>
Co-authored-by: yangqise7en <877793735@qq.com>
Co-authored-by: Zach41 <zach_41@163.com>
This commit is contained in:
chaser-ch
2023-10-31 15:39:20 +00:00
committed by ob-robot
parent 4057fbc4ae
commit 566e920620
1375 changed files with 239147 additions and 56014 deletions

View File

@ -66,12 +66,13 @@ int ObExprBitCount::calc_bitcount_expr(const ObExpr &expr, ObEvalCtx &ctx,
LOG_WARN("eval arg failed", K(ret));
} else if (child_res->is_null()) {
res_datum.set_null();
} else if (OB_FAIL(choose_get_int_func(expr.args_[0]->datum_meta_.type_, get_uint_func))) {
} else if (OB_FAIL(choose_get_int_func(expr.args_[0]->datum_meta_, get_uint_func))) {
LOG_WARN("choose_get_int_func failed", K(ret), K(expr.args_[0]->datum_meta_));
} else if (OB_FAIL(ObSQLUtils::get_default_cast_mode(false, 0,
ctx.exec_ctx_.get_my_session(), cast_mode))) {
LOG_WARN("get_default_cast_mode failed", K(ret));
} else if (OB_FAIL((reinterpret_cast<GetUIntFunc>(get_uint_func)(*child_res, true,
} else if (OB_FAIL((reinterpret_cast<GetUIntFunc>(get_uint_func)(expr.args_[0]->datum_meta_,
*child_res, true,
uint_val, cast_mode)))) {
LOG_WARN("get uint64 failed", K(ret), K(*child_res));
} else {