[CP] Fix Json cast

This commit is contained in:
obdev
2022-08-22 15:49:19 +08:00
committed by wangzelin.wzl
parent 731f8741d3
commit ffcbed5623
2 changed files with 8 additions and 8 deletions

View File

@ -1809,7 +1809,7 @@ static ObObjType MERGE_RESULT_TYPE[ObMaxType][ObMaxType] = {
ObNCharType, /*ObEnumInnerType=>ObNCharType */
ObMaxType, /*ObEnumInnerType=>URowID*/
ObMaxType, /*ObEnumInnerType=>ObLobType*/
ObMaxType, /*ObEnumInnerType=>ObJsonType*/
ObVarcharType, /*ObEnumInnerType=>ObJsonType*/
},
/*ObSetInnerType*/
{
@ -1860,7 +1860,7 @@ static ObObjType MERGE_RESULT_TYPE[ObMaxType][ObMaxType] = {
ObNCharType, /*ObSetInnerType=>ObNCharType */
ObMaxType, /*ObSetInnerType=>URowID*/
ObMaxType, /*ObSetInnerType=>ObLobType*/
ObMaxType, /*ObSetInnerType=>ObJsonType*/
ObVarcharType, /*ObSetInnerType=>ObJsonType*/
},
/*ObTimestampTZType*/
{
@ -2460,8 +2460,8 @@ static ObObjType MERGE_RESULT_TYPE[ObMaxType][ObMaxType] = {
ObJsonType, /* ObJsonType=>ObBitType */
ObVarcharType, /* ObJsonType=>ObEnumType */
ObVarcharType, /* ObJsonType=>ObSetType */
ObMaxType, /* ObJsonType=>ObEnumInnerType */
ObMaxType, /* ObJsonType=>ObSetInnerType */
ObVarcharType, /* ObJsonType=>ObEnumInnerType */
ObVarcharType, /* ObJsonType=>ObSetInnerType */
ObMaxType, /* ObJsonType=>ObTimestampTZType */
ObMaxType, /* ObJsonType=>ObTimestampLTZType */
ObMaxType, /* ObJsonType=>ObTimestampNanoType */

View File

@ -1830,7 +1830,7 @@ static ObObjType RELATIONAL_CMP_TYPE[ObMaxType][ObMaxType] =
ObVarcharType, /* ObNCharType */
ObNullType, /* ObURowIDType */
ObNullType, /* ObLobType */
ObMaxType, /* ObJsonType */
ObNumberType, /* ObJsonType */
},
/*SetInnerType*/
{
@ -1881,7 +1881,7 @@ static ObObjType RELATIONAL_CMP_TYPE[ObMaxType][ObMaxType] =
ObVarcharType, /* ObNCharType */
ObNullType, /* ObURowIDType */
ObNullType, /* ObLobType */
ObMaxType, /* ObJsonType */
ObNumberType, /* ObJsonType */
},
/*ObTimestampTZType*/
{
@ -2481,8 +2481,8 @@ static ObObjType RELATIONAL_CMP_TYPE[ObMaxType][ObMaxType] =
ObJsonType, /*BitType*/
ObNumberType, /* EnumType */
ObNumberType, /* SetType */
ObMaxType, /* EnumInnerType */
ObMaxType, /* SetInnerType */
ObNumberType, /* EnumInnerType */
ObNumberType, /* SetInnerType */
ObTimestampTZType, /* ObTimestampTZType */
ObTimestampLTZType, /* ObTimestampLTZType */
ObTimestampNanoType, /* ObTimestampNanoType */