dbt 1.x 至 1.12 迁移检查

原名:upgrading-dbt

依据上游预编译变更资料检查升级,限定支持的起始版本与适配器。

中文 Skills 技能说明

此固定快照主要把 dbt 1.3 至 1.7 项目迁移到 1.12,适配器范围为 Snowflake、Redshift、BigQuery、Databricks 和 Spark;不宣传为任意版本自动升级器。提供当前版本、依赖和测试环境后,按包内变更资料检查破坏性变化及行为开关,输出差异与验证计划,不凭记忆编造修复。需要本地运行时及相关工具,安装、生产发布和数据库写入需额外授权。先备份并隔离验证,版本不匹配时停止,不跳过失败测试。

上游能力依据

上游原始适用说明:Use when a user wants to upgrade, update, or migrate a dbt project to the latest version — e.g. "upgrade my dbt project," "migrate this off dbt 1.5," "get this project running on the latest dbt," "bump the dbt version." Upgrades a dbt v1 project (on 1.3, 1.4, 1.5, 1.6, or 1.7) all the way to 1.12, applying the required breaking, behavior, and deprecated changes from a data-driven issue corpus. Inputs — startingversion (the project's current dbt minor, one of 1.3/1.4/1.5/1.6/1.7) and adaptertype (snowflake/redshift/bigquery/databricks/spark); both are normally supplied by the caller (e.g. the dbt VS Code extension), with fallbacks described in the skill.

上游 SKILL.md 主要章节(保留原文标题):

使用边界

先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。

作者、翻译与许可证

原作者
dbt Labs 与 dbt-agent-skills contributors
中文翻译
CEOFans翻译
许可证
Apache-2.0
上游来源
https://github.com/dbt-labs/dbt-agent-skills/tree/168a2b0b92da59be88866257140907c206ff0e44/skills/dbt-migration/skills/upgrading-dbt

适用范围

平台:linux、macos、windows;标签:开发运维、dbt 1.x 至 1.12 迁移检查、开源技能

安全提示

基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。

如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。