JkSelf commented on code in PR #8357:
URL: https://github.com/apache/incubator-gluten/pull/8357#discussion_r1992942270


##########
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:
   @PHILO-HE Why fallback the Varchar type 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]

Reply via email to