yangzhg commented on a change in pull request #4282:
URL: https://github.com/apache/incubator-doris/pull/4282#discussion_r466837217
##########
File path: be/src/exprs/decimalv2_operators.cpp
##########
@@ -147,6 +147,22 @@ DateTimeVal DecimalV2Operators::cast_to_datetime_val(
return result;
}
+DateTimeVal DecimalV2Operators::cast_to_date_val(
+ FunctionContext* context, const DecimalV2Val& val) {
+ if (val.is_null) {
+ return DateTimeVal::null();
+ }
+ const DecimalV2Value& dv = DecimalV2Value::from_decimal_val(val);
Review comment:
what does this line mean
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]