bugfix:47099280, 47725591, 47679463, 47077540, 47024555

This commit is contained in:
obdev
2023-02-13 12:41:36 +00:00
committed by ob-robot
parent 331b873fb3
commit ff893e6e4f
7 changed files with 49 additions and 13 deletions

View File

@ -818,7 +818,9 @@ int ObJsonPath::change_json_expr_res_type_if_need(common::ObIAllocator &allocato
case JPN_LENGTH :
case JPN_SIZE :
case JPN_NUM_ONLY :
case JPN_NUMBER : {
case JPN_NUMBER :
case JPN_FLOOR :
case JPN_CEILING : {
ret_node.value_ = 0;
if (ret_node.type_ == T_NULL) {
ret_node.int16_values_[OB_NODE_CAST_TYPE_IDX] = T_VARCHAR;