dbt-migration-vertica — community dbt-migration-vertica, snowflake-dbt-demo, community, ide skills

v1.0.0

关于此技能

非常适合需要从Vertica到Snowflake迁移的数据工程代理,使用dbt模型实现无缝迁移。 The dbt-migration-vertica skill transforms Vertica DDL into production-quality dbt models for Snowflake, maintaining business logic and data transformation steps. It benefits developers by simplifying data migration and workflow automation using AI coding assistants like Claude Code, Cursor, or W...

sfc-gh-dflippo sfc-gh-dflippo
[31]
[8]
更新于: 3/14/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
65
Canonical Locale
en
Detected Body Locale
en

非常适合需要从Vertica到Snowflake迁移的数据工程代理,使用dbt模型实现无缝迁移。 The dbt-migration-vertica skill transforms Vertica DDL into production-quality dbt models for Snowflake, maintaining business logic and data transformation steps. It benefits developers by simplifying data migration and workflow automation using AI coding assistants like Claude Code, Cursor, or W...

核心价值

赋予代理将Vertica DDL转换为生产级dbt模型的能力,以便在Snowflake中维护业务逻辑和数据转换步骤,并利用AI编码助手,如Claude Code、Cursor或Windsurf,实现工作流自动化和数据迁移,遵循dbt最佳实践和Snowflake兼容性。

适用 Agent 类型

非常适合需要从Vertica到Snowflake迁移的数据工程代理,使用dbt模型实现无缝迁移。

赋予的主要能力 · dbt-migration-vertica

将Vertica视图或表转换为Snowflake的dbt模型
将Vertica存储过程迁移到dbt以增强工作流自动化
将Vertica SQL语法转换为Snowflake的优化数据转换
为Snowflake中的dbt模型生成模式

! 使用限制与门槛

  • 需要Vertica DDL作为输入
  • 输出仅限于Snowflake兼容的dbt模型
  • 依赖于dbt最佳实践进行模型转换

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

dbt-migration-vertica 是什么?

非常适合需要从Vertica到Snowflake迁移的数据工程代理,使用dbt模型实现无缝迁移。 The dbt-migration-vertica skill transforms Vertica DDL into production-quality dbt models for Snowflake, maintaining business logic and data transformation steps. It benefits developers by simplifying data migration and workflow automation using AI coding assistants like Claude Code, Cursor, or W...

如何安装 dbt-migration-vertica?

运行命令:npx killer-skills add sfc-gh-dflippo/snowflake-dbt-demo/dbt-migration-vertica。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

dbt-migration-vertica 适用于哪些场景?

典型场景包括:将Vertica视图或表转换为Snowflake的dbt模型、将Vertica存储过程迁移到dbt以增强工作流自动化、将Vertica SQL语法转换为Snowflake的优化数据转换、为Snowflake中的dbt模型生成模式。

dbt-migration-vertica 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

dbt-migration-vertica 有哪些限制?

需要Vertica DDL作为输入;输出仅限于Snowflake兼容的dbt模型;依赖于dbt最佳实践进行模型转换。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add sfc-gh-dflippo/snowflake-dbt-demo/dbt-migration-vertica。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    dbt-migration-vertica 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

dbt-migration-vertica

安装 dbt-migration-vertica,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Vertica to dbt Model Conversion

Purpose

Transform Vertica DDL (views, tables, stored procedures) into production-quality dbt models compatible with Snowflake, maintaining the same business logic and data transformation steps while following dbt best practices.

When to Use This Skill

Activate this skill when users ask about:

  • Converting Vertica views or tables to dbt models
  • Migrating Vertica stored procedures to dbt
  • Translating Vertica SQL syntax to Snowflake
  • Generating schema.yml files with tests and documentation
  • Handling Vertica-specific syntax (projections, flex tables, ANY/ALL predicates)

Task Description

You are a database engineer working for a hospital system. You need to convert Vertica DDL to equivalent dbt code compatible with Snowflake, maintaining the same business logic and data transformation steps while following dbt best practices.

Input Requirements

I will provide you the Vertica DDL to convert.

Audience

The code will be executed by data engineers who are learning Snowflake and dbt.

Output Requirements

Generate the following:

  1. One or more dbt models with complete SQL for every column
  2. A corresponding schema.yml file with appropriate tests and documentation
  3. A config block with materialization strategy
  4. Explanation of key changes and architectural decisions
  5. Inline comments highlighting any syntax that was converted

Conversion Guidelines

General Principles

  • Replace procedural logic with declarative SQL where possible
  • Break down complex procedures into multiple modular dbt models
  • Implement appropriate incremental processing strategies
  • Maintain data quality checks through dbt tests
  • Use Snowflake SQL functions rather than macros whenever possible

Sample Response Format

sql
1-- dbt model: models/[domain]/[target_schema_name]/model_name.sql 2{{ config(materialized='view') }} 3 4/* Original Object: [schema].[object_name] 5 Source Platform: Vertica 6 Purpose: [brief description] 7 Conversion Notes: [key changes] 8 Description: [SQL logic description] */ 9 10WITH source_data AS ( 11 SELECT 12 customer_id::INTEGER AS customer_id, 13 customer_name::VARCHAR(100) AS customer_name, 14 account_balance::NUMBER(18,2) AS account_balance, 15 -- TIMESTAMPTZ converted to TIMESTAMP_TZ 16 created_date::TIMESTAMP_TZ AS created_date 17 FROM {{ ref('upstream_model') }} 18), 19 20transformed_data AS ( 21 SELECT 22 customer_id, 23 UPPER(customer_name)::VARCHAR(100) AS customer_name_upper, 24 account_balance, 25 created_date, 26 CURRENT_TIMESTAMP()::TIMESTAMP_NTZ AS loaded_at 27 FROM source_data 28) 29 30SELECT 31 customer_id, 32 customer_name_upper, 33 account_balance, 34 created_date, 35 loaded_at 36FROM transformed_data
yaml
1## models/[domain]/[target_schema_name]/_models.yml 2version: 2 3 4models: 5 - name: model_name 6 description: "Table description; converted from Vertica [Original object name]" 7 columns: 8 - name: customer_id 9 description: "Primary key - unique customer identifier" 10 tests: 11 - unique 12 - not_null 13 - name: customer_name_upper 14 description: "Customer name in uppercase" 15 - name: account_balance 16 description: "Current account balance; Foreign key to OTHER_TABLE" 17 tests: 18 - relationships: 19 to: ref('OTHER_TABLE') 20 field: OTHER_TABLE_KEY 21 - name: created_date 22 description: "Date the customer record was created" 23 - name: loaded_at 24 description: "Timestamp when the record was loaded by dbt"
yaml
1## dbt_project.yml (excerpt) 2models: 3 my_project: 4 +materialized: view 5 domain_name: 6 +schema: target_schema_name

Specific Translation Rules

dbt Specific Requirements

  • If the source is a view, use a view materialization in dbt
  • Include appropriate dbt model configuration (materialization type)
  • Add documentation blocks for a schema.yml
  • Add descriptions for tables and columns
  • Include relevant tests
  • Define primary keys and relationships
  • Assume that upstream objects are models
  • Comprehensively provide all the columns in the output
  • Break complex procedures into multiple models if needed
  • Implement appropriate incremental strategies for large tables
  • Use Snowflake SQL functions rather than macros whenever possible
  • Always cast columns with explicit precision/scale using ::TYPE syntax (e.g., column_name::VARCHAR(100), amount::NUMBER(18,2)) to ensure output matches expected data types
  • Always provide explicit column aliases for clarity and documentation

Performance Optimization

  • Suggest clustering keys if needed
  • Recommend materialization strategy (view vs table)
  • Identify potential performance improvements

Vertica to Snowflake Syntax Conversion

  • Remove projection specifications
  • Handle flex table conversions
  • Convert case sensitivity with quoted identifiers
  • Replace ANY/ALL array predicates with Snowflake equivalents
  • Convert Vertica-specific functions
  • Handle COPY syntax differences
  • Remove SEGMENTED BY clauses

Key Data Type Mappings

VerticaSnowflakeNotes
INT/INTEGER/BIGINT/SMALLINT/TINYINTSame
NUMERIC/DECIMALSame
FLOAT/REAL/DOUBLE PRECISIONFLOAT
CHAR/VARCHARSame
LONG VARCHARVARCHAR
BINARY/VARBINARY/LONG VARBINARYBINARY
BOOLEANBOOLEAN
DATEDATE
TIME/TIMETZTIME
TIMESTAMP/TIMESTAMPTZTIMESTAMP/TIMESTAMP_TZ
INTERVALVARCHAR
UUIDVARCHAR

Key Syntax Conversions

sql
1-- Projections -> Remove (Snowflake auto-manages) 2CREATE PROJECTION proj AS SELECT ... -> (remove entirely) 3 4-- SEGMENTED BY -> CLUSTER BY 5CREATE TABLE t (...) SEGMENTED BY HASH(id) -> 6CREATE TABLE t (...) CLUSTER BY (id) 7 8-- Flex tables -> VARIANT columns 9CREATE FLEX TABLE t() -> CREATE TABLE t (data VARIANT) 10 11-- Case sensitivity (Vertica folds to lowercase) 12SELECT Col -> SELECT "Col" -- if case matters 13 14-- ANY/ALL array predicates 15col = ANY(ARRAY[1,2,3]) -> col IN (1,2,3) 16col <> ALL(ARRAY[1,2,3]) -> col NOT IN (1,2,3)

Common Function Mappings

VerticaSnowflakeNotes
NVL(a, b)NVL(a, b)Same
NVL2(a, b, c)IFF(a IS NOT NULL, b, c)
COALESCE(...)COALESCE(...)Same
NULLIF(a, b)NULLIF(a, b)Same
DECODE(expr, ...)CASE expr WHEN ... END
GETDATE()CURRENT_TIMESTAMP()
SYSDATECURRENT_TIMESTAMP()
ADD_MONTHS(d, n)DATEADD('month', n, d)
DATEDIFF(unit, d1, d2)DATEDIFF(unit, d1, d2)Same
TO_CHAR(d, fmt)TO_CHAR(d, fmt)Same
TO_DATE(s, fmt)TO_DATE(s, fmt)Same
INSTR(str, search)POSITION(search IN str)
SUBSTR(s, pos, len)SUBSTR(s, pos, len)Same
REGEXP_LIKE(s, p)REGEXP_LIKE(s, p)Same
LISTAGG(col, delim)LISTAGG(col, delim)Same
SPLIT_PART(s, d, n)SPLIT_PART(s, d, n)Same

Dependencies

  • List any upstream dependencies
  • Suggest model organization in dbt project

Validation Checklist

  • [] Every DDL statement has been accounted for in the dbt models
  • [] SQL in models is compatible with Snowflake
  • [] Vertica-specific syntax converted (projections removed, case sensitivity handled)
  • [] All business logic preserved
  • [] All columns included in output
  • [] Data types correctly mapped
  • [] Functions translated to Snowflake equivalents
  • [] Materialization strategy selected
  • [] Tests added
  • [] SQL logic description complete
  • [] Table descriptions added
  • [] Column descriptions added
  • [] Dependencies correctly mapped
  • [] Incremental logic (if applicable) verified
  • [] Inline comments added for converted syntax

  • $dbt-migration - For the complete migration workflow (discovery, planning, placeholder models, testing, deployment)
  • $dbt-modeling - For CTE patterns and SQL structure guidance
  • $dbt-testing - For implementing comprehensive dbt tests
  • $dbt-architecture - For project organization and folder structure
  • $dbt-materializations - For choosing materialization strategies (view, table, incremental, snapshots)
  • $dbt-performance - For clustering keys, warehouse sizing, and query optimization
  • $dbt-commands - For running dbt commands and model selection syntax
  • $dbt-core - For dbt installation, configuration, and package management
  • $snowflake-cli - For executing SQL and managing Snowflake objects

Supported Source Database

DatabaseKey Considerations
VerticaProjections, flex tables, case sensitivity with quotes, ANY/ALL array predicates

Translation References

Detailed syntax translation guides are available in the translation-references/ folder.

Copyright Notice: The translation reference documentation in this repository is derived from Snowflake SnowConvert Documentation and is © Copyright Snowflake Inc. All rights reserved. Used for reference purposes only.

Reference Index

相关技能

寻找 dbt-migration-vertica 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具