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

    https://github.com/apache/spark/pull/13717#discussion_r67420999
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/python/ExtractPythonUDFs.scala
 ---
    @@ -132,7 +132,7 @@ private[spark] object ExtractPythonUDFs extends 
Rule[SparkPlan] {
             val validUdfs = udfs.filter { case udf =>
               // Check to make sure that the UDF can be evaluated with only 
the input of this child.
               udf.references.subsetOf(child.outputSet)
    -        }
    +        }.toArray  // force the iterator to an array, that can't be 
serialized in Scala 2.10
    --- End diff --
    
    do u mean the iterator couldn't have been serialized in scala 2.10?
    
    maybe say "Turn it into an array since iterators cannot be serialized in 
Scala 2.10"



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to