From cda6fbfc562b99e8a79551c12e58b2e646b1a235 Mon Sep 17 00:00:00 2001 From: Zach41 Date: Tue, 23 Jan 2024 06:52:39 +0000 Subject: [PATCH] Fix type deduction error of mod expression --- src/sql/engine/expr/ob_expr_mod_result_type.map | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sql/engine/expr/ob_expr_mod_result_type.map b/src/sql/engine/expr/ob_expr_mod_result_type.map index 2e79ec3ebf..063cbbd4f7 100644 --- a/src/sql/engine/expr/ob_expr_mod_result_type.map +++ b/src/sql/engine/expr/ob_expr_mod_result_type.map @@ -382,7 +382,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] = ObDoubleType, /* ObJsonType */ ObMaxType, /* ObGeometryType */ ObMaxType, /* ObUserDefinedSQLType */ - ObUNumberType, /* ObDecimalIntType */ + ObDecimalIntType, /* ObDecimalIntType */ }, /*USmallIntType*/ @@ -437,7 +437,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] = ObDoubleType, /* ObJsonType */ ObMaxType, /* ObGeometryType */ ObMaxType, /* ObUserDefinedSQLType */ - ObUNumberType, /* ObDecimalIntType */ + ObDecimalIntType, /* ObDecimalIntType */ }, /*UMediumIntType*/ @@ -492,7 +492,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] = ObDoubleType, /* ObJsonType */ ObMaxType, /* ObGeometryType */ ObMaxType, /* ObUserDefinedSQLType */ - ObUNumberType, /* ObDecimalIntType */ + ObDecimalIntType, /* ObDecimalIntType */ }, /*UInt32Type*/ @@ -547,7 +547,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] = ObDoubleType, /* ObJsonType */ ObMaxType, /* ObGeometryType */ ObMaxType, /* ObUserDefinedSQLType */ - ObUNumberType, /* ObDecimalIntType */ + ObDecimalIntType, /* ObDecimalIntType */ }, /*UIntType*/ @@ -602,7 +602,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] = ObDoubleType, /* ObJsonType */ ObMaxType, /* ObGeometryType */ ObMaxType, /* ObUserDefinedSQLType */ - ObUNumberType, /* ObDecimalIntType */ + ObDecimalIntType, /* ObDecimalIntType */ }, /*FloatType*/