[style] clang-format all c++ code (#9305)

- sh build-support/clang-format.sh  to  clang-format all c++ code
This commit is contained in:
chenlinzhong
2022-04-29 16:14:22 +08:00
committed by GitHub
parent 201cd207f9
commit c9961c9bb9
499 changed files with 5917 additions and 5910 deletions

View File

@ -27,9 +27,11 @@
namespace doris::vectorized {
VBlockingJoinNode::VBlockingJoinNode(const std::string& node_name, const TJoinOp::type join_op,
ObjectPool* pool, const TPlanNode& tnode,
const DescriptorTbl& descs)
: ExecNode(pool, tnode, descs), _node_name(node_name), _join_op(join_op),
ObjectPool* pool, const TPlanNode& tnode,
const DescriptorTbl& descs)
: ExecNode(pool, tnode, descs),
_node_name(node_name),
_join_op(join_op),
_left_side_eos(false) {}
Status VBlockingJoinNode::init(const TPlanNode& tnode, RuntimeState* state) {
@ -91,7 +93,8 @@ Status VBlockingJoinNode::open(RuntimeState* state) {
std::promise<Status> build_side_status;
add_runtime_exec_option("Join Build-Side Prepared Asynchronously");
std::thread(bind(&VBlockingJoinNode::build_side_thread, this, state, &build_side_status)).detach();
std::thread(bind(&VBlockingJoinNode::build_side_thread, this, state, &build_side_status))
.detach();
// Open the left child so that it may perform any initialisation in parallel.
// Don't exit even if we see an error, we still need to wait for the build thread
@ -140,4 +143,4 @@ void VBlockingJoinNode::debug_string(int indentation_level, std::stringstream* o
*out << ")";
}
} // namespace doris
} // namespace doris::vectorized