[FEAT MERGE] support auto dop

This commit is contained in:
obdev
2023-04-28 15:11:52 +00:00
committed by ob-robot
parent 642f1c7d84
commit b41dc0ebdd
106 changed files with 3815 additions and 2844 deletions

View File

@ -59,7 +59,16 @@ class ObLogValues : public ObLogicalOperator
return ret;
}
int64_t get_col_count() const { return row_store_.get_col_count(); }
virtual int compute_op_parallel_and_server_info() override
{
int ret = common::OB_SUCCESS;
if (get_num_of_child() == 0) {
ret = set_parallel_and_server_info_for_match_all();
} else {
ret = ObLogicalOperator::compute_op_parallel_and_server_info();
}
return ret;
}
private:
ObLogPlan *explain_plan_;
common::ObRowStore row_store_;