Skip to content

Commit

Permalink
Changed it to bigint instead of integer to be the same as the num_of_…
Browse files Browse the repository at this point in the history
…jobs column
  • Loading branch information
EdwardKaravakis committed Sep 4, 2024
1 parent 9cd6097 commit 9d8e7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema/postgres/sqls/patches/0.0.19.patch.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- patch to be used to upgrade from version 0.0.18
ALTER TABLE doma_panda.mv_jobsactive4_stats ADD COLUMN num_of_cores integer;
ALTER TABLE doma_panda.mv_jobsactive4_stats ADD COLUMN num_of_cores bigint;
COMMENT ON COLUMN doma_panda.mv_jobsactive4_stats.num_of_cores IS E'Number of cores computed by grouping all set of attributes(columns) listed in that column';

CREATE OR REPLACE PROCEDURE doma_panda.update_jobsactive_stats () AS $body$
Expand Down
2 changes: 1 addition & 1 deletion schema/postgres/sqls/pg_PANDA_TABLE.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ CREATE TABLE mv_jobsactive4_stats (
num_of_jobs bigint,
vo varchar(32),
workqueue_id integer,
num_of_cores integer
num_of_cores bigint
) ;
COMMENT ON TABLE mv_jobsactive4_stats IS E'Table (was from Materialized view before, but was not reliable) which collects aggregated data on set of attributes(columns). The data is read from the JOBSACTIVE4 table by an Oracle scheduler job. The refresh interval is 2 min';
COMMENT ON COLUMN mv_jobsactive4_stats.cloud IS E'cloud (associated with Tier 1) where the job is submitted to';
Expand Down

0 comments on commit 9d8e7d5

Please sign in to comment.