The Apache Spark Knowledge Patch bridges the gap between older language model training cutoffs and Apache Spark 4.x features, providing comprehensive guidance on breaking changes, changed defaults, and migration paths. It covers critical updates across Spark SQL, ANSI mode enforcement, Arrow-native PySpark execution, Structured Streaming with TransformWithState v2, Spark Connect, and modern deployment configurations on Kubernetes and YARN. Whether upgrading legacy Spark 3.x workloads or implementing high-performance Data Source V2 connectors, this skill equips Claude Code with the exact compatibility flags, architectural patterns, and validation strategies needed for reliable data engineering.
主要功能
01Navigate Spark 4.x migration hazards including ANSI SQL defaults and Jakarta servlet namespaces
02Design advanced Data Source V2 connectors with CDC reads, dynamic partition overwrite, and pushdowns
0324 GitHub stars
04Optimize PySpark applications with native Apache Arrow data exchange and modern UDF decorators
05Implement Structured Streaming stateful operations using TransformWithState v2 and RocksDB state stores
06Configure Spark Connect, Declarative Pipelines, and cloud deployments on Kubernetes with safe resource allocations
使用场景
01Migrating legacy Spark 3.x codebases and configurations to Spark 4.0, 4.1, and 4.2 without runtime regressions
02Refactoring PySpark pipelines to leverage Arrow-native vectorized execution, UDFs, and PyArrow integration
03Troubleshooting streaming checkpoints, state store incompatibilities, and changed-default behavior across distributed clusters