PHILO-HE commented on code in PR #8357:
URL: https://github.com/apache/incubator-gluten/pull/8357#discussion_r1993010912
##########
cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc:
##########
@@ -262,7 +262,7 @@ bool SubstraitToVeloxPlanValidator::isAllowedCast(const
TypePtr& fromType, const
}
// Limited support for X to Timestamp.
- if (toType->isTimestamp() && !fromType->isDate()) {
+ if (toType->isTimestamp() && !(fromType->isDate() || fromType->isVarchar()))
{
Review Comment:
@JkSelf, it will not fall back. Only date type or varchar type is supported
as from type.
--
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]