alamb commented on pull request #7971: URL: https://github.com/apache/arrow/pull/7971#issuecomment-675442799
Looking briefly at Spark, it seems that user defined aggregates have a single defined return type: https://docs.databricks.com/spark/latest/spark-sql/udaf-scala.html ``` // This is the output type of your aggregatation function. override def dataType: DataType = DoubleType ``` I am not aware of other analytic frameworks that allow users to specify User defined functions that have changeable type ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
