fix:multivalue index lookup bug, create multivalue index with pk column

This commit is contained in:
obdev
2024-04-23 07:45:16 +00:00
committed by ob-robot
parent 814ff31f53
commit 616d4b62cd
6 changed files with 56 additions and 5 deletions

View File

@ -1512,9 +1512,13 @@ int ObJsonUtil::cast_json_scalar_to_sql_obj(common::ObIAllocator *allocator,
uint8_t is_type_mismatch = false;
if (OB_FAIL(cast_to_res(allocator, ctx, j_base, accuracy, cast_param, res_datum, is_type_mismatch))) {
LOG_WARN("fail to cast.", K(ret));
} else {
res_obj.set_type(obj_type);
res_obj.set_collation_type(collation);
res_datum.to_obj(res_obj, res_obj.meta_);
res_obj.set_collation_type(collation);
}
res_datum.to_obj(res_obj, res_obj.meta_);
res_obj.set_collation_type(collation);
}
return ret;
}