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

@ -165,7 +165,7 @@ struct ObDynReserveBuf {
{
const common::ObObjTypeClass tc = common::ob_obj_type_class(type);
return common::ObStringTC == tc || common::ObTextTC == tc || common::ObRawTC == tc || common::ObRowIDTC == tc ||
common::ObLobTC == tc;
common::ObLobTC == tc || common::ObJsonTC == tc;
}
ObDynReserveBuf() = default;
@ -269,6 +269,7 @@ public:
// type of ObObj memory layout to ObDatum memory layout mapping,
// used to convert ObDatum to ObObj and vice versa.
common::ObObjDatumMapType obj_datum_map_;
uint64_t is_boolean_; // to distinguish result of this expr between and int tc
// expr evaluate function
union {
EvalFunc eval_func_;