itholic commented on code in PR #38769:
URL: https://github.com/apache/spark/pull/38769#discussion_r1035556872


##########
python/pyspark/sql/tests/pandas/test_pandas_udf_grouped_agg.py:
##########
@@ -475,7 +475,7 @@ def test_invalid_args(self):
         mean_udf = self.pandas_agg_mean_udf
 
         with QuietTest(self.sc):
-            with self.assertRaisesRegex(AnalysisException, "nor.*aggregate 
function"):
+            with self.assertRaisesRegex(AnalysisException, 
"[MISSING_AGGREGATION]"):

Review Comment:
   We should test this with similar logic with `checkError` in Scala side.
   
   Let me create the JIRA and update soon after getting some feedback from 
community.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to