[ARRAY] fix array with null/null
This commit is contained in:
parent
c448567ff8
commit
3724a8f402
@ -153,7 +153,8 @@ int ObExprArrayMap::calc_result_typeN(ObExprResType& type,
|
||||
LOG_WARN("failed to set null collection", K(ret));
|
||||
}
|
||||
} else {
|
||||
if (types_stack[0].get_type() == ObDecimalIntType || types_stack[0].get_type() == ObNumberType) {
|
||||
if (types_stack[0].get_type() == ObDecimalIntType || types_stack[0].get_type() == ObNumberType ||
|
||||
types_stack[0].get_type() == ObUNumberType) {
|
||||
// decimalint isn't supported in array, so cast to supported type
|
||||
ObObjType calc_type = ObIntType;
|
||||
if (types_stack[0].get_scale() != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user