It’s good to support functools.partial, could you file a JIRA for it?

On Wednesday, March 25, 2015 at 5:42 AM, Karlson wrote:

>  
> Hi all,
>  
> passing a functools.partial-function as a UserDefinedFunction to  
> DataFrame.select raises an AttributeException, because functools.partial  
> does not have the attribute __name__. Is there any alternative to  
> relying on __name__ in pyspark/sql/functions.py:126 ?
>  
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org 
> (mailto:dev-unsubscr...@spark.apache.org)
> For additional commands, e-mail: dev-h...@spark.apache.org 
> (mailto:dev-h...@spark.apache.org)
>  
>  


Reply via email to