snowflake-ml icon indicating copy to clipboard operation
snowflake-ml copied to clipboard

Model runs table definition is wrong

Open williamdieter opened this issue 6 years ago • 0 comments

It looks like the model runs table definition does not match the insert in the training procedure, the table is missing model_id.

create or replace table ml_model_runs(run_id integer, table_name varchar(256), algorithm varchar(100), training_parameters variant, start_time timestamp, end_time timestamp, model_object variant);

sqlText: "insert into ml_model_runs(model_id,run_id,table_name,algorithm,training_parameters,start_time) select :1,:2,:3,:4,parse_json(''"+JSON.stringify(training_parameters)+"''),current_timestamp::TIMESTAMP_NTZ", binds: [MODEL_ID,runId, TABLE_NAME,''decision_tree'']

williamdieter avatar Jul 25 '19 14:07 williamdieter