Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
How to reproduce:
test("Verify thriftserver exceptions") { withJdbcStatement() {statement => statement.executeQuery("set spark.sql.hive.thriftServer.async=true") Thread.sleep(1000) intercept[SQLException] { statement.executeQuery("SELECT * from not-exist") } statement.executeQuery("set spark.sql.hive.thriftServer.async=false") Thread.sleep(1000) intercept[org.apache.hive.service.cli.HiveSQLException] { statement.executeQuery("SELECT * from not-exist") } } }
Attachments
Issue Links
- relates to
-
SPARK-28527 Build a Test Framework for Thriftserver
- Resolved