priyankagargnitk commented on a change in pull request #22054:  
[SPARK-24703][SQL]: To add support to multiply CalendarInterval with Integral 
Type.
URL: https://github.com/apache/spark/pull/22054#discussion_r295752462
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ##########
 @@ -1434,6 +1434,10 @@ class Analyzer(
                 // We get an aggregate function, we need to wrap it in an 
AggregateExpression.
                 case agg: AggregateFunction => AggregateExpression(agg, 
Complete, isDistinct)
                 // This function is not an aggregate function, just return the 
resolved one.
+                case multiply: Multiply if multiply.left.dataType == 
CalendarIntervalType =>
 
 Review comment:
   This check is still not solving the issue. Where should I put this 
conversion logic?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to