di-agent-query-optimization

Official

Turn Substrait plans into SQL pushdown

AuthorIBM
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill rewrites Substrait plans into a compact full-pushdown form so data integration agents can execute more work inside the database instead of splitting logic across systems.

Core Features & Use Cases

  • Pushdown Classification: Distinguishes full SQL pushdown from partial pushdown and stops when the plan cannot be fully preserved.
  • Plan-to-SQL Validation: Converts the original plan to SQL, checks that every relation and read is preserved, and confirms same-connection eligibility.
  • Optimized Plan Generation: Produces a DataStage-ready Substrait structure with canonical output names, connection metadata, and a trailing SQL SELECT for downstream execution.
  • Use Case: A user provides a natural-language data flow request or an existing Substrait plan, and the Skill returns the optimized full-pushdown version that can feed the next DataStage workflow step.

Quick Start

Ask the skill to optimize the attached Substrait plan for full SQL pushdown and return the rewritten plan.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: di-agent-query-optimization
Download link: https://github.com/IBM/ibm-watsonx-data-integration-skills/archive/main.zip#di-agent-query-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.