Skip to content
Snippets Groups Projects
Commit b19e557c authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: make sure views and tables are listed in the right order for removal -- thanks, Thomas!

parent 8de26717
No related branches found
No related tags found
No related merge requests found
......@@ -150,8 +150,8 @@ DELIMITER //
CREATE PROCEDURE drop_hive_tables()
MODIFIES SQL DATA
BEGIN
DROP VIEW IF EXISTS msg, progress;
DROP TABLE IF EXISTS pipeline_wide_parameters, analysis_stats_monitor, worker_resource_usage, resource_description, analysis_data, role, job_file, dataflow_rule, analysis_ctrl_rule, analysis_stats, log_message, accu, job, worker, analysis_base, resource_class, hive_meta;
DROP VIEW IF EXISTS msg, progress, resource_usage_stats;
DROP TABLE IF EXISTS pipeline_wide_parameters, analysis_stats_monitor, worker_resource_usage, resource_description, analysis_data, job_file, dataflow_rule, analysis_ctrl_rule, analysis_stats, log_message, accu, job, role, worker, analysis_base, resource_class, hive_meta;
END; //
DELIMITER ;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment