hagerf commented on issue #26762: [SPARK-30131] add array_median function URL: https://github.com/apache/spark/pull/26762#issuecomment-561898965 @srowen From a quick googling, I see it in AWS Redshift and in IBM DB2 as aggregate functions. I've seen several tickets in Spark requesting median, and I know from my work that people use the median frequently so my intention was to solve a common request. But yes, this can of course be done by a UDF, or combination of other functions, but can be a bit cumbersome.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
