itholic opened a new pull request, #36113:
URL: https://github.com/apache/spark/pull/36113

   ### What changes were proposed in this pull request?
   
   This PR follow-up https://github.com/apache/spark/pull/35656 to make 
error-class name and error message better.
   
   ### Why are the changes needed?
   
   The existing class name `CANNOT_USE_MIXTURE ` and its message `"Cannot use a 
mixture of aggregate function and group aggregate pandas UDF"` don't seem to 
clearly elaborate why the error is occurred.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, the error message is changed from `"The group aggregate pandas UDF %s 
cannot be invoked in the same SELECT list as other, non-pandas aggregate 
functions."` to `"The group aggregate pandas UDF <pandas_udf_name> cannot be 
invoked in the same SELECT list as other, non-pandas aggregate functions."`
   
   
   ### How was this patch tested?
   
   The existing test should cover.
   


-- 
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