Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/8592#discussion_r44086478
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala ---
@@ -162,6 +162,8 @@ package object dsl {
def stddev(e: Expression): Expression = Stddev(e)
def stddev_pop(e: Expression): Expression = StddevPop(e)
def stddev_samp(e: Expression): Expression = StddevSamp(e)
+ def collect_list(e: Expression): Expression = CollectList(e)
+ def collect_set(e: Expression): Expression = CollectSet(e)
--- End diff --
This is really only for easy building of test cases. To make it user
facing, just add it to
[fuctions.py](https://github.com/apache/spark/blob/master/python/pyspark/sql/functions.py)
and
[functions.scala](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]