spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Erlandson (JIRA)" <>
Subject [jira] [Commented] (SPARK-10915) Add support for UDAFs in Python
Date Wed, 28 Jun 2017 01:37:01 GMT


Erik Erlandson commented on SPARK-10915:

This would be great for exposing {{TDigest}} aggregation to py-spark datasets.  (see

Currently the newer {{Aggregator}} trait makes this easy to do for datasets in Scala.  Writing
the alternative {{UserDefinedAggregateFunction}} is possible, although I'd have to code my
own serializor for a TDigest UDT instead of just using {{Encoder.kryo}}.  But UDAF to python
is a hack at best: (see

> Add support for UDAFs in Python
> -------------------------------
>                 Key: SPARK-10915
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>            Reporter: Justin Uang
> This should support python defined lambdas.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message