{"record":{"id":"891a3a60e7d6ead8","repo":"dbt-labs/dbt-core","slug":"verify-database-is-not-implemented-for-the-adap","errorCode":null,"errorMessage":"verify_database is not implemented for the {} adapter","messagePattern":"verify_database is not implemented for the (.+?) adapter","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-adapter/src/adapter/adapter_impl.rs","lineNumber":3747,"sourceCode":"                    {\n                        return Err(AdapterError::new(\n                            AdapterErrorKind::UnexpectedDbReference,\n                            format!(\n                                \"Cross-db references allowed only in RA3.* node or with datasharing enabled ({database} vs {configured_database})\"\n                            ),\n                        ));\n                    }\n                }\n\n                Ok(Value::from(()))\n            }\n            Impl(\n                adapter_type @ (Snowflake | Bigquery | Databricks | Salesforce | Spark | Fabric\n                | Exasol | Starburst | Athena | Trino | Datafusion | Dremio\n                | Oracle),\n                _,\n            ) => {\n                unimplemented!(\n                    \"verify_database is not implemented for the {} adapter\",\n                    adapter_type\n                )\n            }\n        }\n    }\n\n    /// Check if a given partition and clustering column spec for a table\n    /// can replace an existing relation in the database. BigQuery does not\n    /// allow tables to be replaced with another table that has a different\n    /// partitioning spec. This method returns True if the given config spec is\n    /// identical to that of the existing table.\n    ///\n    /// BigQueryAdapter https://github.com/dbt-labs/dbt-adapters/blob/4a00354a497214d9043bf4122810fe2d04de17bb/dbt-bigquery/src/dbt/adapters/bigquery/impl.py#L541\n    pub fn is_replaceable(\n        &self,\n        conn: &'_ mut dyn Connection,\n        relation: &Arc<dyn BaseRelation>,","sourceCodeStart":3729,"sourceCodeEnd":3765,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-adapter/src/adapter/adapter_impl.rs#L3729-L3765","documentation":"unimplemented!() in verify_database: cross-database reference verification only has native implementations; for all Impl-backed adapters the call aborts with this message, so any Jinja macro invoking verify_database on those adapters crashes rather than getting a pass/fail verdict.","triggerScenarios":"Thrown at crates/dbt-adapter/src/adapter/adapter_impl.rs:3747 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Default Impl adapters to a permissive Ok result where cross-db semantics don't apply","Implement per-adapter checks where the warehouse enforces database scoping","Map to a structured AdapterError before user code panics"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}