File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -590,19 +590,25 @@ int main(int argc, char* argv[]) {
590590 }
591591
592592 // Apply bloom filter on sender side before sending
593- std::vector<cloudsql::executor::Tuple> rows_to_send = std::move (rows);
593+ std::vector<cloudsql::executor::Tuple> rows_to_send =
594+ std::move (rows);
594595 if (cluster_manager->has_bloom_filter (args.context_id )) {
595- auto bloom = cluster_manager->get_bloom_filter (args.context_id );
596- std::string probe_key_col = cluster_manager->get_probe_key_col (args.context_id );
596+ auto bloom =
597+ cluster_manager->get_bloom_filter (args.context_id );
598+ std::string probe_key_col =
599+ cluster_manager->get_probe_key_col (args.context_id );
597600
598601 if (!probe_key_col.empty ()) {
599602 // Find key column index in current table
600- auto table_meta_opt = catalog->get_table_by_name (args.table_name );
603+ auto table_meta_opt =
604+ catalog->get_table_by_name (args.table_name );
601605 if (table_meta_opt.has_value ()) {
602606 const auto * table_meta = table_meta_opt.value ();
603607 size_t key_idx = static_cast <size_t >(-1 );
604- for (size_t i = 0 ; i < table_meta->columns .size (); ++i) {
605- if (table_meta->columns [i].name == probe_key_col) {
608+ for (size_t i = 0 ; i < table_meta->columns .size ();
609+ ++i) {
610+ if (table_meta->columns [i].name ==
611+ probe_key_col) {
606612 key_idx = i;
607613 break ;
608614 }
You can’t perform that action at this time.
0 commit comments