{"record":{"id":"522f3ff06e23ce0b","repo":"dbt-labs/dbt-core","slug":"relationconfigbaseobject-does-not-support-method","errorCode":null,"errorMessage":"RelationConfigBaseObject does not support method: {}","messagePattern":"RelationConfigBaseObject does not support method: (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-adapter/src/relation/config_v2.rs","lineNumber":410,"sourceCode":"                    if !change_set.is_empty() {\n                        let intermediate_map = Value::from(ValueMap::from([\n                            (\n                                Value::from(\"requires_full_refresh\"),\n                                Value::from(change_set.requires_full_refresh()),\n                            ),\n                            (Value::from(\"changes\"), Value::from_object(change_set)),\n                        ]));\n                        Value::from_serialize(intermediate_map)\n                    } else {\n                        none_value()\n                    }\n                } else {\n                    none_value()\n                };\n\n                Ok(val)\n            }\n            (_, _) => unimplemented!(\"RelationConfigBaseObject does not support method: {}\", name),\n        }\n    }\n\n    fn get_value(self: &Arc<Self>, key: &Value) -> Option<Value> {\n        use AdapterType::Bigquery;\n\n        match (self.adapter_type, key.as_str()?) {\n            (Bigquery, \"options\") => {\n                let obj = DynJinjaObject::<(), Self>::new_arc(\n                    \"BigqueryMaterializedViewOptions\",\n                    (),\n                    self.clone(),\n                )\n                .with_method(\"as_ddl_dict\", |obj, _state, _args, _listeners| {\n                    jinja::bigquery_as_ddl_dict(\n                        obj.repr_ref()\n                            .components\n                            .iter()","sourceCodeStart":392,"sourceCodeEnd":428,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-adapter/src/relation/config_v2.rs#L392-L428","documentation":"RelationConfigBaseObject is a minijinja object exposing methods on a relation's config (v2). call_method resolves a fixed set of method names; if the requested method name is not among the supported arms, it panics with unimplemented!(\"RelationConfigBaseObject does not support method: {name}\"). It indicates a Jinja call against relation.config that the v2 config object does not expose.","triggerScenarios":"From a macro or Jinja context, calling an unsupported method on the RelationConfigBaseObject wrapper — e.g. invoking a relation-config attribute accessor or helper whose (name, args) pair is not implemented in call_method's match.","commonSituations":"Migrating macros from relation config v1 to v2 where removed/renamed accessors are still called; copying macros between adapters whose config surfaces differ; typos in the method name passed to the config object.","solutions":["Check the method name against the supported set in call_method (crates/dbt-adapter/src/relation/config_v2.rs) and use an exposed accessor instead.","Read the value generically via get_value(key) rather than an unsupported method.","If the method is genuinely needed, add a match arm in call_method implementing it for the relevant adapter type."],"exampleFix":"// before (Jinja)\n{% set t = relation.config.some_unsupported_method() %}\n\n// after\n{% set t = relation.config.get('some_property') %}","handlingStrategy":"validation","validationCode":"{% if 'method_name' in relation_config %}{% set v = relation_config.method_name() %}{% else %}{% set v = relation_config.get('key') %}{% endif %}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Consult the implemented method list in config_v2.rs call_method before calling new methods on relation.config.","Prefer generic key access (get_value) over named methods for config values.","When migrating from config v1, map removed accessors to their v2 equivalents."],"tags":["unimplemented","jinja","relation-config","method-not-supported"],"backgroundTag":"method-not-implemented","analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-14T16:17:12.679Z"}