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

   ### What changes were proposed in this pull request?
   
   This PR proposes to remove `DATATYPE_MISMATCH.WRONG_NUM_ARGS` and 
`DATATYPE_MISMATCH.WRONG_NUM_ARGS_WITH_SUGGESTION`from sub-class of 
`DATATYPE_MISMATCH`, and integrate into `WRONG_NUM_ARGS.WITH_SUGGESTION` and 
`WRONG_NUM_ARGS.WITHOUT_SUGGESTION`.
   
   ### Why are the changes needed?
   
   Because `WRONG_NUM_ARGS` is logically not a part of `DATATYPE_MISMATCH` 
error, and duplicated.
   
   We should use appropriate name for all error classes.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   The existing UT is fixed, so CI should pass.


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