mikhailnik-db opened a new pull request, #54662:
URL: https://github.com/apache/spark/pull/54662

   ### What changes were proposed in this pull request?
   
   Rename the legacy error condition `_LEGACY_ERROR_TEMP_2145` to a proper 
error class `OPTION_VALUE_EXCEEDS_ONE_CHARACTER` with SQL state `22023` 
(invalid parameter value).
   
   ### Why is the change needed?
   
   `_LEGACY_ERROR_TEMP_2145` is a legacy placeholder error name. It should be 
replaced with a descriptive error class name and assigned a proper SQL state to 
improve error reporting and comply with the ANSI SQL standard.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The error condition name changes from `_LEGACY_ERROR_TEMP_2145` to 
`OPTION_VALUE_EXCEEDS_ONE_CHARACTER` and now includes SQL state `22023`. The 
error message itself remains unchanged.
   
   ### How was this patch tested?
   
   Existing tests.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code 2.1.70
   


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