Change label of broker load txn (#1134)

* Change label of broker load txn

1. put broker load label into txn label
2. fix the bug of `label is already used`
3. fix partition error of new broker load

* Fix count error in mini load and broker load

There are three params (num_rows_load_total, num_rows_load_filtered, num_rows_load_unselected) which are used to count dpp.norm.ALL and dpp.abnorm.ALL.
num_rows_load_total is the number rows of source file.
num_rows_load_unselected is the not satisfied (where conjuncts) rows of num_rows_load_total
num_rows_load_filtered is the rows (quality not good enough) of (num_rows_load_total-num_rows_load_unselected)
This commit is contained in:
EmmyMiao87
2019-05-10 16:53:46 +08:00
committed by Mingyu Chen
parent fdc0c40549
commit 79ab7f4413
18 changed files with 66 additions and 92 deletions

View File

@ -171,7 +171,6 @@ Status DataSpliter::process_partition(
error_log << "there is no corresponding partition for this key: ";
ctx->print_value(row, &error_log);
state->update_num_rows_load_filtered(1);
state->update_num_rows_load_success(-1);
return Status(error_log.str(), true);
}
*info = _partition_infos[*part_index];