PageRenderTime 23ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientnegative/database_drop_not_empty.q.out

#
text | 28 lines | 28 code | 0 blank | 0 comment | 0 complexity | 8683b901b6d346709c24c2afb210e66e MD5 | raw file
 1PREHOOK: query: SHOW DATABASES
 2PREHOOK: type: SHOWDATABASES
 3POSTHOOK: query: SHOW DATABASES
 4POSTHOOK: type: SHOWDATABASES
 5default
 6PREHOOK: query: -- Try to drop a non-empty database
 7CREATE DATABASE test_db
 8PREHOOK: type: CREATEDATABASE
 9POSTHOOK: query: -- Try to drop a non-empty database
10CREATE DATABASE test_db
11POSTHOOK: type: CREATEDATABASE
12PREHOOK: query: USE test_db
13PREHOOK: type: SWITCHDATABASE
14POSTHOOK: query: USE test_db
15POSTHOOK: type: SWITCHDATABASE
16PREHOOK: query: CREATE TABLE t(a INT)
17PREHOOK: type: CREATETABLE
18POSTHOOK: query: CREATE TABLE t(a INT)
19POSTHOOK: type: CREATETABLE
20POSTHOOK: Output: test_db@t
21PREHOOK: query: USE default
22PREHOOK: type: SWITCHDATABASE
23POSTHOOK: query: USE default
24POSTHOOK: type: SWITCHDATABASE
25PREHOOK: query: DROP DATABASE test_db
26PREHOOK: type: DROPDATABASE
27FAILED: Error in metadata: InvalidOperationException(message:Database test_db is not empty)
28FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask