support json type

This commit is contained in:
xj0
2022-02-08 14:58:13 +08:00
committed by LINxiansheng
parent 4b25bac8d0
commit e5f59ea074
241 changed files with 46116 additions and 749 deletions

View File

@ -327,7 +327,7 @@ int ObTableIterParam::has_lob_column_out(const bool is_get, bool& has_lob_column
STORAGE_LOG(WARN, "failt to get out cols", K(ret));
} else if (OB_NOT_NULL(out_cols)) {
for (int64_t i = 0; !has_lob_column && i < out_cols->count(); i++) {
has_lob_column = out_cols->at(i).col_type_.is_lob();
has_lob_column = (out_cols->at(i).col_type_.is_lob() || out_cols->at(i).col_type_.is_json());
}
}
return ret;
@ -338,7 +338,7 @@ bool ObTableIterParam::enable_fuse_row_cache() const
bool bret = nullptr != full_out_cols_;
if (bret) {
for (int64_t i = 0; bret && i < full_out_cols_->count(); i++) {
bret = !full_out_cols_->at(i).col_type_.is_lob();
bret = !(full_out_cols_->at(i).col_type_.is_lob() || full_out_cols_->at(i).col_type_.is_json());
}
}
bret = bret && !need_scn_;