data-data-virtualization
Use when the user asks about Trino, Presto, Starburst, Dremio, query federation, cross-source joins or connector pushdown. Produces federation architecture…
by j4flmao★ 47 GitHub stars
Install data-data-virtualization in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Data Data Virtualization
Purpose
Design and deploy data virtualization with Trino/Presto for federated queries across data sources, with connector configuration, pushdown optimization, performance tuning, and enterprise features.
Agent Protocol
Trigger
Exact user phrases: "data virtualization", "Trino", "Presto", "Starburst", "Dremio", "query federation", "federated query", "cross-source join", "pushdown", "connector", "data lake query engine", "federated analytics".
Input Context
- Data sources to federate (databases, lakes, streaming)
- Query patterns and performance requirements
- Existing data infrastructure
- Data sizes and source locations
- Security and compliance needs
- Team expertise with query engines
- User personas and access patterns
- BI tool compatibility requirements
Output Artifact
Data virtualization architecture with engine selection (Trino/Starburst/Dremio), connector configuration for each data source, pushdown optimization rules, cross-source join strategy, and performance tuning guide.
Response Format
# Engine selection matrix
# Connector configurations
# Pushdown rules per source
# Cross-source join strategy
# Performance tuning parameters
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Query engine selected with rationale
- Connectors configured for all data sources
- Pushdown rules defined per connector and query type
- Cross-source join strategy documented with cost model
- Performance tuning parameters set (memory, concurrency, threads)
- Security configured (TLS, auth, RBAC)
- Monitoring dashboard for query performance
- Resource groups and query queues configured
Max Response Length
350 lines of configuration.
Workflow
Step 1: Select Engine
Engine Comparison Matrix
| Engine | Strengths | Weaknesses | Use Case |
|---|---|---|---|
| Trino | Open-source, broad connector support, large community | No built-in auth, no caching (vanilla) | Open-source federated query |
| Starburst | Enterprise Trino, data lake caching, built-in security, RBAC | License cost, vendor dependency | Enterprise with compliance needs |
| Dremio | Reflections (acceleration), BI-friendly, data lineage | Smaller connector ecosystem | BI optimization, self-service |
Engine Selection Decision Tree
Primary requirement?
├── Open-source, community-driven, broadest connector support
│ └── Trino (vanilla)
├── Enterprise security, caching, managed service
│ ├── On-prem / self-managed → Starburst Enterprise
│ └── Serverless multi-cloud → Starburst Galaxy
├── BI optimization, acceleration, self-service
│ └── Dremio (Reflections, VDS, lineage)
├── Hadoop-native, older ecosystem
│ └── PrestoSQL (legacy — prefer Trino)
└── Lightweight, embedded, or building custom
└── Trino embedded JDBC driver
Default: Trino for open-source teams with existing auth infrastructure. Starburst for regulated enterprises needing caching and RBAC. Dremio for BI-heavy workloads with repetitive queries.
Step 2: Trino Cluster Architecture
┌──────────────────────────────────────┐
│ Coordinator │
│ ┌──────────────┐ ┌──────────────┐ │
│ │ Query Planner│ │ Query │ │
│ │ & Optimizer │ │ Scheduler │ │
│ └──────────────┘ └──────────────┘ │
│ Resource Manager │ Metadata API │
└──────────┬───────────────────────────┘
│
┌──────┴──────┐
│ Discovery │
│ Service │
└──────┬──────┘
│
┌──────────┴───────────────────────────┐
│ Worker Pool │
│ ┌──────────┐ ┌──────────┐ ┌───────┐ │
│ │ Worker 1 │ │ Worker 2 │ │ ... │ │
│ │ (data │ │ (data │ │ │ │
│ │ source) │ │ source) │ │ │ │
│ └──────────┘ └──────────┘ └───────┘ │
└──────────────────────────────────────┘
Coordinator splits query into tasks, schedules on workers. Workers read from connectors in parallel, exchange data via HTTP. Discovery service handles worker registration and health checks.
Cluster Sizing Guidelines
| Workload | Workers | Worker Spec | Coordinator Spec | Storage |
|---|---|---|---|---|
| Light (5-20 concurrent queries) | 2-4 | 8 CPU, 32GB RAM | 4 CPU, 16GB RAM | None |
| Medium (20-100 concurrent) | 4-8 | 16 CPU, 64GB RAM | 8 CPU, 32GB RAM | None |
| Heavy (100-500 concurrent) | 8-16 | 32 CPU, 128GB RAM | 16 CPU, 64GB RAM | None |
| Enterprise (500+ concurrent) | 16-32 | 64 CPU, 256GB RAM | 32 CPU, 128GB RAM | Cache SSDs |
Step 3: Configure Connectors
Connector Configuration Patterns
# etc/catalog/hive.properties (Hive/Iceberg)
connector.name=hive
hive.metastore.uri=thrift://metastore:9083
hive.config.resources=/etc/hadoop/core-site.xml
hive.allow-drop-table=false
hive.parallel-partitioned-bucketed-writes=true
# etc/catalog/postgres.properties (P
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/federation-deployment.md
- references/federation-optimization.md
- references/trino-architecture.md
- references/virtualization-connectors.md
- references/virtualization-cost-analysis.md
- references/virtualization-platforms.md
- references/virtualization-query-optimization.md
- references/virtualization-security.md
FAQ
What does the data-data-virtualization skill do?
Use when the user asks about Trino, Presto, Starburst, Dremio, query federation, cross-source joins or connector pushdown. Produces federation architecture, connector config and pushdown and join tuning. Not for warehouse modeling (use data-data-warehouse) or lake table formats (use data-data-lake).
How do I install the data-data-virtualization skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the data-data-virtualization skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…