Statistical Functions in Spark Dec 13, 2019 https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/DataFrameStatFunctions.html https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/DataFrameStatFunctions.html#approxQuantile-java.lang.String:A-double:A-double- https://spark.apache.org/docs/latest/api/sql/index.html#approx_percentile