cloud-fan commented on a change in pull request #23308: [SPARK-26308][SQL] 
Avoid cast of decimals for ScalaUDF
URL: https://github.com/apache/spark/pull/23308#discussion_r242400707
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
 ##########
 @@ -879,6 +879,36 @@ object TypeCoercion {
           }
         }
         e.withNewChildren(children)
+      case udf: ScalaUDF if udf.inputTypes.nonEmpty =>
 
 Review comment:
   nit: add a blank line before it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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