What problem does it solve? Writing and running Spark jobs on Google Cloud Dataproc involves many error-prone details: configuring BigLake Iceberg catalogs, choosing the right connectors for BigQuery and Spanner, submitting serverless batches with correct properties, and avoiding common PySpark mistakes. This Skill enforces a verified workflow so generated Spark code compiles, matches destination schemas, and runs correctly on Dataproc. ## Core Features & Use Cases - Guided Spark Code Generation: Produces Python notebooks (.ipynb) by default following a mandatory workflow: inspect schemas first, generate code, verify schema before write, and compile before execution. - Data Source Integration: Provides verified patterns for reading and writing BigQuery tables, BigLake Iceberg catalogs (GCS and S3 storage), Google Cloud Storage files, and Spanner databases. - Dataproc Resource Management: Covers listing clusters, jobs, serverless batches, and sessions via gcloud or MCP tools, plus batch submission with Iceberg, Spanner, and XGBoost configurations. - ML on Spark: Documents verified patterns for XGBoost (SparkXGBClassifier), native Spark ML, and known LightGBM dependency conflicts on Dataproc Serverless. - Use Case: A data engineer needs an ETL pipeline that reads CSV files from GCS, enriches them with a BigQuery reference table, and writes results to a BigLake Iceberg table. The Skill generates a notebook with correct catalog configuration, broadcast joins, and schema verification. ## Quick Start Ask the assistant to write a Spark notebook that reads a BigQuery table and writes the results to a BigLake Iceberg table on Dataproc Serverless.