mirror of
https://github.com/apache/impala.git
synced 2025-12-31 15:00:10 -05:00
Added CATCH section to test files. Change-Id: I28ba3a6e5ae4c53df5b86505573793d7b150863b Reviewed-on: http://gerrit.ent.cloudera.com:8080/2782 Reviewed-by: Victor Bittorf <victor.bittorf@cloudera.com> Tested-by: jenkins (cherry picked from commit 5b616715958f3ebfdc45b8dc0e4baa82bd55f1d2) Reviewed-on: http://gerrit.ent.cloudera.com:8080/2912
22 lines
475 B
Plaintext
22 lines
475 B
Plaintext
====
|
|
---- QUERY
|
|
create database if not exists udf_test_errors;
|
|
---- RESULTS
|
|
====
|
|
---- QUERY
|
|
create function if not exists udf_test_errors.hive_pi() returns double
|
|
location '/test-warehouse/hive-exec.jar'
|
|
symbol='org.apache.hadoop.hive.ql.udf.UDFPI';
|
|
---- RESULTS
|
|
====
|
|
---- QUERY
|
|
drop database udf_test_errors;
|
|
---- CATCH
|
|
Cannot drop non-empty database: udf_test_errors
|
|
====
|
|
---- QUERY
|
|
drop function udf_test_errors.hive_pi();
|
|
drop database udf_test_errors;
|
|
---- RESULTS
|
|
====
|