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

@ -20,7 +20,7 @@ namespace oceanbase {
namespace sql {
// The length of array need to be equal to the number of types defined at ObObjType
static const int32_t CAST_STRING_DEFUALT_LENGTH[48] = {
static const int32_t CAST_STRING_DEFUALT_LENGTH[49] = {
0, // null
4, // tinyint
6, // smallint
@ -68,6 +68,7 @@ static const int32_t CAST_STRING_DEFUALT_LENGTH[48] = {
1, // nchar share default length with char
1, // urowid
1, // lob
1, // json
0 // max, invalid type, or count of obj type
};