What problem does it solve? Writing correct Spark code for Google Cloud Dataproc requires knowing exact catalog configurations, connector options, and platform-specific pitfalls. This Skill enforces a verified workflow that inspects schemas before coding, compiles notebooks before execution, and applies proven read/write patterns for BigQuery, BigLake Iceberg, GCS, and Spanner. ## Core Features & Use Cases - Guided Spark Code Generation: Produces Python notebooks (.ipynb) following a mandatory task execution workflow with schema verification and compile checks. - Data Source Integration: Provides verified patterns for reading and writing BigQuery tables, BigLake Iceberg catalogs (GCS and S3 storage), GCS files, and Spanner databases. - Dataproc Resource Management: Covers cluster and serverless batch submission, session management, and job listing via gcloud or MCP tools. - ML Task Guidance: Includes validated patterns for XGBoost and native Spark ML, with warnings about LightGBM dependency conflicts on Serverless. - Use Case: A data engineer needs to build an ETL pipeline reading from BigQuery, transforming data, and writing to a BigLake Iceberg table. The Skill generates a notebook with the correct catalog configuration, schema verification, and DataFrameWriterV2 write mode. ## Quick Start Ask the AI to write a Spark notebook that reads a BigQuery table and writes the results to a BigLake Iceberg catalog on Dataproc Serverless.