标签:dev name template rename 适配器 evel fun 必须 包含
首先,将odbc适配器模板复制到同一目录中的新文件。
更新dbt / adapters / factory.py以将新适配器包含为类型。还要将类型添加到dbt / contracts / connection.py,
并添加一个定义适配器配置文件外观的约定。
在适配器模板中,找到许多应该实现的功能,以使大多数适配器功能正常工作。最关键的是:
https://github.com/fishtown-analytics/dbt/tree/development/dbt/adapters
https://docs.getdbt.com/docs/building-new-database-adapters
https://docs.getdbt.com/docs/creating-new-materializations
https://github.com/fishtown-analytics/dbt/blob/adapter/azure-dw/dbt/adapters/odbc_adapter_template.py
标签:dev name template rename 适配器 evel fun 必须 包含
原文地址:https://www.cnblogs.com/rongfengliang/p/9824237.html