You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add predictions column to tableres<-dplyr::mutate(lendingclub_dat, !!!orbital_inline(orbital_obj))
# Select only the prediction column and the ID columnpred_name<-".pred"res<-dplyr::select(res, dplyr::any_of(c("ID", pred_name)))
# Translate the dbplyr `tbl` into a SQL query stringgenerated_sql<- remote_query(res)
versioned_view_name<-
glue("{model_name}_v{model_version}")
snowflake_view_statement<-glue::glue_sql("CREATE OR REPLACE VIEW {`versioned_view_name`} AS ",
generated_sql,
.con=con)
# NOTE: Uncomment the following line to see the whole Snowflake View creation statement.# snowflake_view_statement
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: