hive-sql-optimizer
Installation
SKILL.md
Hive/Spark SQL Optimizer
Expert tool for analyzing and optimizing Hive and Spark SQL queries.
Capabilities
- Query Analysis: Parse and analyze SQL query structure, identify anti-patterns
- Performance Analysis: Evaluate query performance bottlenecks and resource consumption
- Index Recommendations: Suggest appropriate indexes, partitions, and bucketing strategies
- Execution Plan Interpretation: Explain EXPLAIN output and identify optimization opportunities
- Optimization Strategies: Provide concrete rewrite suggestions and best practices
When to Use
- Query running slower than expected
- High resource consumption (CPU/Memory/IO)
- Need to understand execution plan
- Designing tables for query patterns
- Migrating queries between Hive and Spark SQL