spark-pipeline

Design Apache Spark ETL pipelines with explicit schemas and audit columns.

3|Updated May 28, 2026
One-click install
npx skills add https://github.com/mahg-es/araya --skill spark-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spark-pipeline
Source: https://github.com/mahg-es/araya/tree/main/skills/spark-pipeline
Command: npx skills add https://github.com/mahg-es/araya --skill spark-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spark pipelines often fail in production due to missing schema enforcement, lack of auditability, and brittle error handling. This skill provides a structured approach to building reliable data pipelines with explicit schemas, audit columns, and robust validation.

Core Features & Use Cases

  • Explicit schema enforcement and strong data quality checks in PySpark pipelines.
  • Medallion architecture support (Bronze → Silver → Gold) with partitioned, idempotent writes.
  • Use Cases: batch and streaming ETL for large datasets requiring reliable production-grade processing.

Quick Start

Set up a Spark Bronze ingestion pipeline with explicit schema and audit columns to write data to the Bronze layer.

Frequently Asked Questions about spark-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a PySpark ETL pipeline with a medallion architecture?

A production-grade Spark ETL pipeline requires explicit schema definitions, audit columns, and robust error handling. Implementing these elements prevents brittle failures by enforcing strong data quality checks and ensuring deterministic, idempotent writes during large dataset processing.

How do I add audit columns and schema enforcement in Spark data pipelines?

You enforce schemas and add audit columns in Spark by applying explicit schema definitions within your PySpark scripts. This mechanism ensures strong data quality checks, injects auditing metadata, and guarantees deterministic, idempotent writes for batch and streaming ETL workloads.

Can I use this approach for both batch and streaming ETL workloads in Spark?

Yes, this approach supports both batch and streaming ETL workloads in Spark. The medallion architecture design applies explicit schema validation, partitioning, and reliable error handling to large datasets across both processing paradigms.

What is the best way to handle errors and partitioning in PySpark production pipelines?

The best way to handle errors and partitioning in PySpark production pipelines is to use a structured medallion architecture. This method applies robust validation, explicit schemas, and idempotent partitioned writes to prevent brittle failures during large dataset processing.

Why do my Spark pipelines fail in production when processing large datasets?

Spark pipelines often fail in production due to missing schema enforcement, lack of auditability, and brittle error handling. Applying explicit schemas, audit columns, and robust validation within a medallion architecture resolves these reliability issues for large dataset processing.