bugfix: ddl adaptation for xml column && remove collation set for clob;

This commit is contained in:
wu-xingying
2023-06-13 08:42:23 +00:00
committed by ob-robot
parent cb73a34eda
commit 55d9685e17
2 changed files with 7 additions and 3 deletions

View File

@ -6269,9 +6269,6 @@ int ObSPIService::convert_obj(ObPLExecCtx *ctx,
for (int i = 0; OB_SUCC(ret) && i < obj_array.count(); ++i) {
ObObj &obj = obj_array.at(i);
tmp_obj.reset();
if (obj.is_clob() && !(ob_is_nstring(result_types[i].get_obj_type()))) {
obj.set_collation_type(result_types[i].get_collation_type());
}
obj.set_collation_level(result_types[i].get_collation_level());
LOG_DEBUG("column convert", K(obj.get_meta()), K(result_types[i].get_meta_type()),
K(current_type.at(i)), K(result_types[i].get_accuracy()));