Weijun-H opened a new issue, #12249: URL: https://github.com/apache/datafusion/issues/12249
### Is your feature request related to a problem or challenge? Returns the skewness value calculated from values of a group. ### Describe the solution you'd like ``` > SELECT skewness(col) FROM VALUES (-10), (-20), (100), (1000), (1000) AS tab(col); 0.3853941073355022 > SELECT skewness(DISTINCT col) FROM VALUES (-10), (-20), (100), (1000), (1000) AS tab(col); 1.1135657469022011 > SELECT skewness(col) FROM VALUES (-1000), (-100), (10), (20) AS tab(col); -1.1135657469022011 ``` ### Describe alternatives you've considered _No response_ ### Additional context https://docs.databricks.com/en/sql/language-manual/functions/skewness.html https://duckdb.org/docs/sql/functions/aggregates#skewnessx -- 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. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org