[FEAT MERGE] impl vectorization 2.0

Co-authored-by: Naynahs <cfzy002@126.com>
Co-authored-by: hwx65 <1780011298@qq.com>
Co-authored-by: oceanoverflow <oceanoverflow@gmail.com>
This commit is contained in:
obdev
2023-12-22 03:43:19 +00:00
committed by ob-robot
parent 1178245448
commit b6773084c6
592 changed files with 358124 additions and 303288 deletions

View File

@ -1033,3 +1033,18 @@ int ObLogExchange::is_my_fixed_expr(const ObRawExpr *expr, bool &is_fixed)
expr == random_expr_;
return OB_SUCCESS;
}
bool ObLogExchange::support_rich_format_vectorize() const {
bool res = !(dist_method_ == ObPQDistributeMethod::SM_BROADCAST ||
dist_method_ == ObPQDistributeMethod::PARTITION_RANDOM ||
dist_method_ == ObPQDistributeMethod::PARTITION_RANGE ||
dist_method_ == ObPQDistributeMethod::PARTITION_HASH);
int tmp_ret = abs(OB_E(EventTable::EN_OFS_IO_SUBMIT) OB_SUCCESS);
if (tmp_ret & (1 << dist_method_)) {
res = false;
}
// ordered: 16
// ms: 17
LOG_TRACE("[VEC2.0 PX] support_rich_format_vectorize", K(res), K(dist_method_), K(tmp_ret));
return res;
}