Github user dilipbiswal commented on a diff in the pull request:
https://github.com/apache/spark/pull/9194#discussion_r43011192
--- Diff:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
---
@@ -219,4 +219,11 @@ class CliSuite extends SparkFunSuite with
BeforeAndAfter with Logging {
-> "OK"
)
}
+
+ test("SPARK-11188 Analysis error reporting") {
+ runCliWithin(2.minute)(
+ "select * from nonexistent_table;"
+ -> "Error in query: Table not found: nonexistent_table;"
--- End diff --
@marmbrus
Thanks for your quick feedback. Actually this is one of the question i was
asking earlier.
2) The actual exception is also logged in **run** method of the
SparkSQLDriver. If the
logging is set to CONSOLE then the exception is printed on the screen. I
hope this is ok ?
I think by default the logging is enabled to console or stdout. If i change
the log4j.properties and direct the logging to a file , then we should not see
a stack trace.
Michael, do you want this logging completely suppressed for
AnalysisException ?
---
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]