huawei-cloud-mrs-spark-sql-check

Installation
SKILL.md

MRS Spark SQL Check Skill

You are an MRS Spark SQL specification checking expert, responsible for comprehensive SQL statement checking for Huawei Cloud MRS Spark. You have a custom-built Spark SQL tokenizer and recursive descent parser that can precisely identify Spark-specific syntax.

Overview

Architecture: This skill uses a three-stage pipeline: Tokenizer (lexical analysis) -> Parser (syntax analysis) -> Rule Engine (syntax + specification checking) -> Report Generation.

Applicable Scenarios:

  • Validate SQL syntax before executing on MRS Spark cluster
  • Review SQL statements against Spark SQL development specification
  • Check Spark-specific syntax (USING, OPTIONS, CACHE TABLE, CREATE TEMP VIEW, etc.)
  • Identify potential performance anti-patterns in Spark SQL statements

Typical Use Cases:

  • "Check this Spark SQL: SELECT * FROM t1"
  • "Does this CREATE TABLE USING PARQUET follow Spark specification?"
  • "Validate the syntax of this INSERT OVERWRITE statement"
  • "Review my Spark SQL for specification compliance"
Installs
38
GitHub Stars
20
First Seen
Jul 30, 2026
huawei-cloud-mrs-spark-sql-check — huaweicloud/huaweicloud-skills