MaxGekk opened a new pull request, #36426: URL: https://github.com/apache/spark/pull/36426
### What changes were proposed in this pull request? In the PR, I propose to create two new sub-classes of the error class `INCONSISTENT_BEHAVIOR_CROSS_VERSION`: - READ_ANCIENT_DATETIME - WRITE_ANCIENT_DATETIME and move their error messages from source code to the json file `error-classes.json`. ### Why are the changes needed? 1. To improve maintainability of error messages in the one place. 2. To follow the general rule that bodies of error messages should be placed to the json file, and only parameters are passed from source code. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? By running the modified test suite: ``` $ build/sbt "sql/testOnly *QueryExecutionErrorsSuite*" ``` -- 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]
