support json type
This commit is contained in:
@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user