fix bug:fill in the correct tenant data version for direct_load

This commit is contained in:
Revendell
2023-03-02 18:23:13 +00:00
committed by ob-robot
parent 196cc36bc7
commit e460d04918
9 changed files with 29 additions and 7 deletions

View File

@ -66,7 +66,8 @@ public:
online_opt_stat_gather_(false),
dest_table_id_(common::OB_INVALID_ID),
task_id_(0),
schema_version_(0)
schema_version_(0),
data_version_(0)
{
}
TO_STRING_KV(K_(table_id),
@ -78,6 +79,7 @@ public:
K_(dest_table_id),
K_(task_id),
K_(schema_version),
K_(data_version),
K_(partition_id_array),
K_(target_partition_id_array));
public:
@ -92,6 +94,7 @@ public:
uint64_t dest_table_id_;
int64_t task_id_;
int64_t schema_version_;
int64_t data_version_;
// partition info
ObTableLoadArray<ObTableLoadLSIdAndPartitionId> partition_id_array_;//orig table
ObTableLoadArray<ObTableLoadLSIdAndPartitionId> target_partition_id_array_;//FIXME: target table