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

@ -1944,7 +1944,9 @@ int ObWindowFunction::ObWindowFunctionCtx::init()
case T_FUN_KEEP_SUM:
case T_FUN_KEEP_COUNT:
case T_FUN_KEEP_WM_CONCAT:
case T_FUN_WM_CONCAT: {
case T_FUN_WM_CONCAT:
case T_FUN_JSON_ARRAYAGG:
case T_FUN_JSON_OBJECTAGG: {
ret = func_alloc.alloc<AggFunc>(func);
break;
}

View File

@ -745,7 +745,9 @@ int ObWindowFunctionOp::init()
case T_FUN_KEEP_SUM:
case T_FUN_KEEP_COUNT:
case T_FUN_KEEP_WM_CONCAT:
case T_FUN_WM_CONCAT: {
case T_FUN_WM_CONCAT:
case T_FUN_JSON_ARRAYAGG:
case T_FUN_JSON_OBJECTAGG: {
void* tmp_ptr = local_allocator_.alloc(sizeof(AggrCell));
void* tmp_array = local_allocator_.alloc(sizeof(AggrInfoFixedArray));
ObIArray<ObAggrInfo>* aggr_infos = NULL;