PHILO-HE commented on code in PR #9022:
URL: https://github.com/apache/incubator-gluten/pull/9022#discussion_r1998233469
##########
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:
@jackylee-ch, `isInteger` also returns true for decimal type, based on the
TypeKind check.
--
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]