jackylee-ch commented on code in PR #9022:
URL: https://github.com/apache/incubator-gluten/pull/9022#discussion_r1998218667
##########
cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc:
##########
@@ -263,6 +263,11 @@ bool SubstraitToVeloxPlanValidator::isAllowedCast(const
TypePtr& fromType, const
// Limited support for X to Timestamp.
if (toType->isTimestamp()) {
+ if (fromType->isDecimal()) {
Review Comment:
Since we already defined the default false, why we need a extra check here?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]