Github user dilipbiswal commented on a diff in the pull request:
https://github.com/apache/spark/pull/9194#discussion_r42654708
--- Diff:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
---
@@ -308,7 +310,15 @@ private[hive] class SparkSQLCLIDriver extends
CliDriver with Logging {
ret = rc.getResponseCode
if (ret != 0) {
- console.printError(rc.getErrorMessage())
+ // For analysis exception, only the error is printed out to
the console.
+ rc.getException() match {
+ case e : AnalysisException =>
+ console.printError(
+ s"""Failed with exception ${e.getClass.getName}:
${e.getMessage}""")
--- End diff --
Sure Michael. I will make the change.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]