cdb_analysis_catalog is already retrieved from camshaft

This commit is contained in:
Raul Ochoa 2016-04-14 11:53:48 +02:00
parent 2d4fd62acf
commit 26149e7755

View File

@ -336,22 +336,6 @@ INSERT INTO _vovw_1_test_table_overviews VALUES
-- analysis tables ----------------------------------------------- -- analysis tables -----------------------------------------------
drop table if exists cdb_analysis_catalog;
create table cdb_analysis_catalog (
node_id char(40) CONSTRAINT cdb_analysis_catalog_pkey PRIMARY KEY,
analysis_def json NOT NULL,
input_nodes char(40) ARRAY NOT NULL DEFAULT '{}',
affected_tables regclass[] NOT NULL DEFAULT '{}',
cache_tables regclass[] NOT NULL DEFAULT '{}',
created_at timestamp with time zone NOT NULL DEFAULT now(),
updated_at timestamp with time zone NOT NULL DEFAULT now(),
used_at timestamp with time zone NOT NULL DEFAULT now(),
hits NUMERIC DEFAULT 0,
last_used_from char(40)
);
ALTER TABLE cdb_analysis_catalog OWNER TO :TESTUSER; ALTER TABLE cdb_analysis_catalog OWNER TO :TESTUSER;