[refactor](broadcastbuffer) using a queue to remove ref and unref codes (#28698)
Co-authored-by: yiguolei <yiguolei@gmail.com>Add a new class broadcastbufferholderqueue to manage holders Using shared ptr to manage holders, not use ref and unref, it is too difficult to maintain.
This commit is contained in:
@ -40,7 +40,8 @@ QueryContext::QueryContext(TUniqueId query_id, int total_fragment_num, ExecEnv*
|
||||
_start_time = VecDateTimeValue::local_time();
|
||||
_shared_hash_table_controller.reset(new vectorized::SharedHashTableController());
|
||||
_shared_scanner_controller.reset(new vectorized::SharedScannerController());
|
||||
_execution_dependency.reset(new pipeline::Dependency(-1, -1, "ExecutionDependency", this));
|
||||
_execution_dependency =
|
||||
pipeline::Dependency::create_unique(-1, -1, "ExecutionDependency", this);
|
||||
_runtime_filter_mgr.reset(
|
||||
new RuntimeFilterMgr(TUniqueId(), RuntimeFilterParamsContext::create(this)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user