[FEAT MERGE] support auto dop
This commit is contained in:
@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user