Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated by SqlDBM: Conference Data by "sourav.mondal@antstack.io" #26

Merged
merged 4 commits into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions SqlDBM/src/Tables/conference_refined.event.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-- **********************************************************************
-- ************************* Generated by SqlDBM ************************



-- ************************************** conference_refined.event

CREATE TABLE conference_refined.event
(
event_id bigint GENERATED BY DEFAULT AS IDENTITY COMMENT 'SK of the event',
event_name string NOT NULL COMMENT 'Name of the event',
start_date date NOT NULL COMMENT 'start date of the event',
end_date date NOT NULL COMMENT 'end date of the event',
addr_line_1 string NOT NULL COMMENT 'Address/location of the event',
addr_line_2 string COMMENT 'Address/location of the event',
city string COMMENT 'Name of the city where the event took place',
state string COMMENT 'Name of the state where the event took place',
zipcode string NOT NULL COMMENT 'zipcode of the place where the event happened',
country string NOT NULL COMMENT 'Country where the event took place',
create_date date NOT NULL COMMENT 'Creation date of the row',
create_user string NOT NULL COMMENT 'User who executed the sql query',
modified_date string COMMENT 'Date when the raw modified',
modified_user string COMMENT 'User who executed the sql query to modify the row',
is_processed boolean NOT NULL
)
TBLPROPERTIES (Property = '')
COMMENT 'Event dimension';
20 changes: 20 additions & 0 deletions SqlDBM/src/Tables/conference_refined.polling_questions.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-- **********************************************************************
-- ************************* Generated by SqlDBM ************************



-- ************************************** conference_refined.polling_questions

CREATE TABLE conference_refined.polling_questions
(
session_title string NOT NULL,
attendee_registration_no string NOT NULL,
poll_question string NOT NULL,
poll_option string,
option_text string,
create_user string NOT NULL,
create_date date NOT NULL,
modified_user string,
modified_date date,
is_processed boolean NOT NULL
);
29 changes: 29 additions & 0 deletions SqlDBM/src/Tables/conference_refined.registrant.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-- **********************************************************************
-- ************************* Generated by SqlDBM ************************



-- ************************************** conference_refined.registrant

CREATE TABLE conference_refined.registrant
(
attendee_id bigint GENERATED BY DEFAULT AS IDENTITY COMMENT 'SK for attendee',
event_id bigint NOT NULL,
event_name string NOT NULL COMMENT 'Name of the event',
session_id bigint NOT NULL,
session_title string NOT NULL,
attendee_type string NOT NULL,
registration_no string NOT NULL COMMENT 'Application generated registration no.',
first_name string NOT NULL COMMENT 'First name of the person',
last_name string NOT NULL COMMENT 'Last name of the person',
job_role string COMMENT 'Current job role of the person',
state string NOT NULL COMMENT 'State from which the person belongs',
email_address string NOT NULL COMMENT 'Email address of the person',
logout_time timestamp,
login_time timestamp,
create_date date NOT NULL COMMENT 'Creation date of the row',
create_user string NOT NULL COMMENT 'User who executed the sql query',
modified_user string COMMENT 'User who executed the sql query to modify the row',
modified_date date COMMENT 'Date when the raw modified',
is_processed boolean NOT NULL
) COMMENT 'Dimension table to people who registered for an event';
26 changes: 26 additions & 0 deletions SqlDBM/src/Tables/conference_refined.session.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-- **********************************************************************
-- ************************* Generated by SqlDBM ************************



-- ************************************** conference_refined.session

CREATE TABLE conference_refined.session
(
session_id bigint GENERATED BY DEFAULT AS IDENTITY COMMENT 'SK of the session',
session_title string NOT NULL COMMENT 'Title of the session',
event_id bigint NOT NULL COMMENT 'SK of event id',
event_name string NOT NULL COMMENT 'Name of the event',
speakers string NOT NULL COMMENT 'Speaker(s) of the session',
supporter string COMMENT 'Supporter or sponsors of the session',
session_date date NOT NULL COMMENT 'Date when the session took place',
start_time timestamp NOT NULL COMMENT 'Time of the in 24 hrs. format when the session was supposed to take place',
end_time timestamp NOT NULL COMMENT 'Time of the in 24 hrs. format when the session was supposed to end',
exact_start_time timestamp COMMENT 'Time of the in 24 hrs. format when the session was started',
exact_end_time timestamp COMMENT 'Time of the in 24 hrs. format when the session was ended',
create_user string NOT NULL COMMENT 'User who executed the sql query',
create_date date NOT NULL COMMENT 'Creation date of the row',
modified_user string COMMENT 'User who executed the sql query to modify the row',
modified_date date COMMENT 'Date when the row modified',
is_processed boolean NOT NULL
) COMMENT 'Dimension table for the session';