diff options
author | petermaxlee <petermaxlee@gmail.com> | 2016-08-10 23:22:14 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-08-10 23:22:14 -0700 |
commit | 0db373aaf87991207a7a8a09853b6fa602f0f45b (patch) | |
tree | fb921fcaa1108e90ca4c9f0c9044fba923f8e5e5 /sql/core/src/test/resources/sql-tests/results/having.sql.out | |
parent | 7a6a3c3fbcea889ca20beae9d4198df2fe53bd1b (diff) | |
download | spark-0db373aaf87991207a7a8a09853b6fa602f0f45b.tar.gz spark-0db373aaf87991207a7a8a09853b6fa602f0f45b.tar.bz2 spark-0db373aaf87991207a7a8a09853b6fa602f0f45b.zip |
[SPARK-17011][SQL] Support testing exceptions in SQLQueryTestSuite
## What changes were proposed in this pull request?
This patch adds exception testing to SQLQueryTestSuite. When there is an exception in query execution, the query result contains the the exception class along with the exception message.
As part of this, I moved some additional test cases for limit from SQLQuerySuite over to SQLQueryTestSuite.
## How was this patch tested?
This is a test harness change.
Author: petermaxlee <petermaxlee@gmail.com>
Closes #14592 from petermaxlee/SPARK-17011.
Diffstat (limited to 'sql/core/src/test/resources/sql-tests/results/having.sql.out')
-rw-r--r-- | sql/core/src/test/resources/sql-tests/results/having.sql.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/test/resources/sql-tests/results/having.sql.out b/sql/core/src/test/resources/sql-tests/results/having.sql.out index 0bc8be66be..e092383267 100644 --- a/sql/core/src/test/resources/sql-tests/results/having.sql.out +++ b/sql/core/src/test/resources/sql-tests/results/having.sql.out @@ -1,4 +1,4 @@ --- Automatically generated by org.apache.spark.sql.SQLQueryTestSuite +-- Automatically generated by SQLQueryTestSuite -- Number of queries: 4 |