[vectorzied](function) fix year_floor get result is incorrectly (#19006)
This commit is contained in:
@ -1559,10 +1559,9 @@ public class FunctionCallExpr extends Expr {
|
||||
&& (args[ix].isArrayType())
|
||||
&& ((ArrayType) args[ix]).getItemType().isDecimalV3()))) {
|
||||
continue;
|
||||
} else if (!argTypes[i].matchesType(args[ix]) && !(
|
||||
argTypes[i].isDateOrDateTime() && args[ix].isDateOrDateTime())
|
||||
} else if (!argTypes[i].matchesType(args[ix])
|
||||
&& (!fn.getReturnType().isDecimalV3()
|
||||
|| (argTypes[i].isValid() && !argTypes[i].isDecimalV3() && args[ix].isDecimalV3()))) {
|
||||
|| (argTypes[i].isValid() && !argTypes[i].isDecimalV3() && args[ix].isDecimalV3()))) {
|
||||
uncheckedCastChild(args[ix], i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user