Skip to content

cdmFromCon fails on Snowflake with glue ≥ 1.8: glue_sql: .con is absent but must be supplied #54

Description

@Akram-Mendez

CDMConnector::cdmFromCon() failed when connecting to Snowflake and the write/CDM schema resolves a two-part (catalog + schema) name. The connection worked after installing glue 1.7.0

Error in glue::glue_sql("{DBI::dbQuoteIdentifier(con, s[1])}.{DBI::dbQuoteIdentifier(con, s[2])}") : 
  `.con` is absent but must be supplied.

Here is the traceback() output:

stop("`.con` is absent but must be supplied.")
6: glue::glue_sql("{DBI::dbQuoteIdentifier(con, s[1])}.{DBI::dbQuoteIdentifier(con, s[2])}") at cdm.R#298
5: CDMConnector::cdmFromCon(con = db, cdmSchema = cdmSchema, writeSchema = writeSchema, 
       writePrefix = writePrefix, achillesSchema = achillesSchema) at RunDiagnostics.R#14

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions