stczwd opened a new pull request #27644: [SPARK-30868][SQL] Throw Exception if runHive(sql) failed URL: https://github.com/apache/spark/pull/27644 ### Why are the changes needed? At present, HiveClientImpl.runHive will not throw an exception when it runs incorrectly, which will cause it to fail to feedback error information normally. Example ```scala spark.sql("add jar file:///tmp/not_exists.jar") spark.sql("show databases").show() ``` /tmp/not_exists.jar doesn't exist, thus add jar is failed. However this code will run completely without causing application failure. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? add new suite tests
---------------------------------------------------------------- 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]
