Spark best practices

From baekenough/oh-my-customcode · View interactive version

Spark best practices is an AI agent skill from the GitHub repository baekenough/oh-my-customcode. Apache Spark 4.0.2 best practices for PySpark and Scala distributed data processing

How to use this skill

Skill file

Apache Spark Best Practices

Version: Spark 4.x. Key changes from Spark 3.x: ANSI mode is now default (stricter SQL type coercion and overflow checks), and Spark Connect provides a decoupled client-server protocol for remote Spark access.

Performance Optimization

Broadcast Joins (CRITICAL)

Shuffles (CRITICAL)

Caching

Resource Management

Executor Configuration

Partitioning

Data Processing

UDFs

Storage Formats

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.