Added contract config dag and updated streamlit file to test pipeline

This commit is contained in:
Umang Mistry
2024-03-12 15:35:46 -05:00
parent 5aedfc33cf
commit 34aaec1777
4 changed files with 130 additions and 0 deletions
@@ -0,0 +1,20 @@
-- CREATING THE CONFIG TABLE
CREATE TABLE IF NOT EXISTS CONTRACT_CONFIG (
REQUEST_ID NUMERIC,
CONTRACT_NAME VARCHAR,
GROUP_1 BOOLEAN,
GROUP_1_OVERRIDE BOOLEAN,
GROUP_2 BOOLEAN,
GROUP_2_OVERRIDE BOOLEAN,
GROUP_3 BOOLEAN,
GROUP_3_OVERRIDE BOOLEAN,
GROUP_4 BOOLEAN,
GROUP_4_OVERRIDE BOOLEAN,
GROUP_5 BOOLEAN,
GROUP_5_OVERRIDE BOOLEAN,
REQUEST_DATETIME DATETIME,
REQUEST_USER VARCHAR,
OVERRIDE_DATETIME DATETIME,
LATEST_FLAG BOOLEAN DEFAULT TRUE,
PIPELINE_KICKOFF_DATETIME DATETIME
);