mirror of
https://github.com/apache/impala.git
synced 2026-01-06 06:01:03 -05:00
Fix bug cleaning up removed Functions and fix test_ddl to create all test dbs
When dropping functions, we neeed to remove the function from the list of Functions with that name AND remove the list from the Function map if the list is empty. The second part wasn't happening. Also fixes the test_ddl to properly create all test databases. Change-Id: Id85af7d5db74a31161f48bea3816bdf734063133 Reviewed-on: http://gerrit.ent.cloudera.com:8080/952 Reviewed-by: Nong Li <nong@cloudera.com> Tested-by: jenkins
This commit is contained in:
committed by
Henry Robinson
parent
04ebe68212
commit
6bba0c8ffe
@@ -1,8 +1,5 @@
|
||||
====
|
||||
---- QUERY
|
||||
create database if not exists function_ddl_test
|
||||
====
|
||||
---- QUERY
|
||||
# Drop the dummy udfs this test uses.
|
||||
drop function if exists default.fn();
|
||||
drop function if exists function_ddl_test.fn();
|
||||
|
||||
Reference in New Issue
Block a user