Alibabacloud Migration Sdm Sql Trans
БесплатноЗапускает вложенные скриптыНе проверен跨大数据引擎的 SQL 语法转换技能(DML/DDL/存储过程)。覆盖标识符、数据类型、函数、查询语法、分布/分区策略、存储过程/函数、外表等重写场景。目前已实现 Synapse → Hologres,框架为其他引擎对(如 SQL Server → MaxCompute、Hive →…
от sdk-team667 установок в других каталогахОб этом скилле
This skill has been validated on the Qoder / QoderWork platform. It is a pure content-generation skill that does not invoke external tools. It can also be used on other Agent platforms, though trigger matching behavior may vary.
Cross-Engine SQL Syntax Translation (migration-sdm-sql-trans)
Security Red Lines
- Never embed real customer database/table/column names in conversion examples or output (replace with
tbl_demo,col_x) - Never embed real business data (phone numbers, IDs, account numbers, etc.) in example SQL; use placeholders where needed
- Conversion output is generated content — for reference only; human review before executing in production is recommended
- Never store any AK/SK, passwords, or plaintext connection strings in SKILL.md or references files
MCP Tool Inventory
This skill is pure content generation and does not depend on external MCP tools or CLI. All conversions are driven by built-in rule documents and mapping tables.
1. Overview
Provides SQL syntax conversion capabilities across big-data engines (DML / DDL / stored procedures / functions, etc.). This skill uses a "multi-directional language-pair + extensible conversion-rules" architecture, following a unified 5-step main process to complete each conversion, with implementations for additional engine pairs added incrementally.
2. When to Use / When NOT to Use
| When to Use | When NOT to Use |
|---|---|
| Cross-data-warehouse SQL rewriting (T-SQL → PG, Hive → MaxCompute, etc.) | Table structure (DDL) migration only → migration-sdm-ddl-trans |
| Full conversion of DML / views / stored procedures | ADF workflow migration → migration-sdm-adf2dw |
| Compatibility checks and rewriting suggestions | Data integration job generation → migration-sdm-dw-di-generator |
3. Support Matrix
| Source → Target | Status | Implementation Location |
|---|---|---|
| Synapse (T-SQL) → Hologres (PostgreSQL) | ✅ Implemented | "Scenario Implementation" section below + reference.md + examples.md |
| SQL Server (T-SQL) → MaxCompute (ODPS-SQL) | 🟡 TODO | Pending references/sqlserver_to_maxcompute.md |
| Hive QL → Hologres | 🟡 TODO | Pending references/hive_to_hologres.md |
| Hive QL → MaxCompute | 🟡 TODO | Pending references/hive_to_maxcompute.md |
| PostgreSQL → Hologres | 🟡 TODO | Pending references/postgresql_to_hologres.md |
| Oracle (PL/SQL) → MaxCompute | 🟡 TODO | Pending references/oracle_to_maxcompute.md |
| Teradata → MaxCompute / Hologres | 🟡 TODO | Pending references/teradata_to_*.md |
| Snowflake → MaxCompute / Hologres | 🟡 TODO | Pending references/snowflake_to_*.md |
Important: For language pairs marked 🟡 TODO in the table above, the corresponding
references/<src>_to_<dst>.mdfiles have not yet been created. When a user requests an unimplemented language pair, the Agent must explicitly inform the user that the pair is not yet implemented; fabricating conversion results based on speculation is strictly prohibited.
Rejection Policy for Unimplemented Language Pairs (Hard Constraint)
When a user's conversion request involves a 🟡 TODO language pair (especially Hive → Hologres), the Agent must perform the following actions:
Explicitly inform: "Hive → Hologres language pair is not yet implemented (TODO); no conversion rules are currently available."
Suggest alternatives (the reply must include specific, actionable recommendations):
- Manually convert by referencing the Synapse → Hologres rule structure in this document (identifiers / data types / functions / query syntax / DDL)
- Consult the data-type mapping table and function mapping table in reference.md as a general reference
- Consult the official Alibaba Cloud Hologres documentation for SQL syntax details
Absolutely prohibited:
- ❌ Fabricating or extrapolating conversion results
- ❌ Outputting pseudo-conversions with
Status: PASSor-- TODO: verifymarkers - ❌ Pretending rules exist when the rewrite is actually a guess
Output delivery (hard requirement):
- The rejection notice and alternative suggestions must be presented directly in the conversation reply, not merely declared as "saved to a file"
- If a file needs to be written (e.g.
outputs/refusal_notice.md), the file write must actually be executed; claiming a write was performed without doing so is prohibited - Hallucinated writes are prohibited: any file mentioned in logs or replies as "saved / written / generated" must actually exist in the file system with complete content
- Recommended practice: reply directly in the conversation with the rejection notice and alternative suggestions — no extra file needed
Example rejection reply (output directly in conversation, not written to a file): "SQL conversion rules
Установить Alibabacloud Migration Sdm Sql Trans в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Alibabacloud Migration Sdm Sql Trans?
跨大数据引擎的 SQL 语法转换技能(DML/DDL/存储过程)。覆盖标识符、数据类型、函数、查询语法、分布/分区策略、存储过程/函数、外表等重写场景。目前已实现 Synapse → Hologres,框架为其他引擎对(如 SQL Server → MaxCompute、Hive → Hologres、PostgreSQL → Hologres、Oracle → MaxCompute 等)预留了可扩展位置(TODO)。当用户需要将 SQL/T-SQL/PL-SQL 从一个数仓转换到另一个数仓、跨源迁移查询语句、T-SQL 转 PostgreSQL、数仓 SQL 兼容性改写时使用。不适用于:表结构 DDL 迁移(用 ddl-trans)、ADF 工作流迁移(用 adf2dw)、数据集成作业生成(用 dw-di-generator)。已知局限:不支持递归 CTE、动态 SQL 拼接、SQL Server GEOGRAPHY/GEOMETRY 等空间类型;基于规则匹配,转换结果建议人工审核。
Как установить скилл Alibabacloud Migration Sdm Sql Trans?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Alibabacloud Migration Sdm Sql Trans запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic