miland-db opened a new pull request, #54591: URL: https://github.com/apache/spark/pull/54591
### What changes were proposed in this pull request? This PR consolidates the 2-parameter overload of `dataSchemaNotSpecifiedError` to use the existing `UNABLE_TO_INFER_SCHEMA` error class (SQL state 42KD9). Changes: - Updated the 2-parameter `dataSchemaNotSpecifiedError()` method to delegate to the 1-parameter version - Removed `_LEGACY_ERROR_TEMP_1134` from `error-conditions.json` ### Why are the changes needed? This is needed to ensure reliable error reporting. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? The 1-parameter version already has comprehensive test coverage via `UNABLE_TO_INFER_SCHEMA`. ### 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]
