Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18813#discussion_r131793853
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala 
---
    @@ -94,7 +94,7 @@ object ScalaReflection extends ScalaReflection {
        * JVM form instead of the Scala Array that handles auto boxing.
        */
       private def arrayClassFor(tpe: `Type`): ObjectType = {
    --- End diff --
    
    arrayClassFor is called at many place. The typical calling pattern looks 
like:
    
                val TypeRef(_, _, Seq(elementType)) = tpe
                arrayClassFor(elementType)
    
    So instead of dealiasing when calling, we dealiase it here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to