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

   ### What changes were proposed in this pull request?
   
   In https://github.com/apache/spark/pull/46793, we replaced 
NullPointerExceptions with proper error classes in AssertNotNull expression. 
However, that PR forgot to update the `ExpressionEncoder` to check for these 
new error classes. This PR fixes it to make sure we use the new error classes 
in all cases.
   
   ### Why are the changes needed?
   
   See above
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, see above
   
   ### How was this patch tested?
   
   This PR updates tests with the new error classes
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No


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