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

Change execution_date_time to varchar(100) #408

Merged
merged 1 commit into from
Aug 15, 2023
Merged
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
6 changes: 3 additions & 3 deletions inst/sql/sql_server/PlpResultTables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ CREATE TABLE @my_schema.@string_to_appenddiagnostics(
diagnostic_id int GENERATED ALWAYS AS IDENTITY NOT NULL PRIMARY KEY,
model_design_id int,
database_id int NOT NULL,
execution_date_time DATETIME2,
execution_date_time VARCHAR(100),
FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id),
FOREIGN KEY (database_id) REFERENCES @my_schema.@string_to_appenddatabase_details(database_id)
);
Expand Down Expand Up @@ -171,7 +171,7 @@ CREATE TABLE @my_schema.@string_to_appendmodels(
plp_model_file text NOT NULL, -- reference to saved model location
train_details VARCHAR(MAX), -- new this contains all the trainDetails
preprocessing VARCHAR(MAX), -- new this contains the preprocessing required
execution_date_time DATETIME2,
execution_date_time VARCHAR(100),
training_time VARCHAR(100), -- previously new
intercept float,
FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id),
Expand Down Expand Up @@ -200,7 +200,7 @@ CREATE TABLE @my_schema.@string_to_appendperformances (
plp_data_setting_id int NOT NULL, -- added
population_setting_id int NOT NULL,
model_development int NOT NULL, -- added
execution_date_time DATETIME2,
execution_date_time VARCHAR(100),
plp_version char(10),
FOREIGN KEY (model_design_id) REFERENCES @my_schema.@string_to_appendmodel_designs(model_design_id),
FOREIGN KEY (development_database_id) REFERENCES @my_schema.@string_to_appenddatabase_details(database_id),
Expand Down