HyukjinKwon commented on a change in pull request #28089:
[SPARK-30921][PySpark] Predicates on python udf should not be pushdown through
Aggregate
URL: https://github.com/apache/spark/pull/28089#discussion_r403675970
##########
File path: python/pyspark/sql/tests/test_pandas_udf_grouped_agg.py
##########
@@ -491,6 +491,23 @@ def max_udf(v):
agg2 = self.spark.sql("select max_udf(id) from table")
assert_frame_equal(agg1.toPandas(), agg2.toPandas())
+ def test_no_predicate_pushdown_through(self):
+ # SPARK-12345: We should not pushdown predicates of PythonUDFs through
Aggregate.
Review comment:
JIRA I'd:).
----------------------------------------------------------------
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]