peter-toth opened a new pull request #26028: [SPARK-29359] Better exception handling in SQLQueryTestSuite and ThriftServerQueryTestSuite URL: https://github.com/apache/spark/pull/26028 ### What changes were proposed in this pull request? This PR adds 3 changes regarding exception handling in `SQLQueryTestSuite` and `ThriftServerQueryTestSuite` - removes unnecessary `struct<>` schema from expected output files where an exception is expected - fixes an expected output sorting issue in `ThriftServerQueryTestSuite` as if there is an exception then there is no need for sort - introduces common exception handling in those 2 suites with a new `handleExceptions` method ### Why are the changes needed? For more robust exception handling. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing UTs.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
