fabric-spark

Configure PySpark jobs in Microsoft Fabric notebooks with best practices and constraints.

2|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/wardawgmalvicious/claude-config --skill fabric-spark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fabric-spark
Source: https://github.com/wardawgmalvicious/claude-config/tree/main/skills/fabric-spark
Command: npx skills add https://github.com/wardawgmalvicious/claude-config --skill fabric-spark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexities of using PySpark within Microsoft Fabric notebooks, ensuring efficient and effective data processing by providing best practices, constraints, and configurations.

Core Features & Use Cases

  • Constraint Handling: Ensures adherence to Fabric's no-external-HTTP constraint and ABFS URI formatting.
  • Runtime Configuration: Offers guidance on notebookutils.runtime.context for identity lookups and spark.conf.* for session tuning.
  • Lakehouse Setup: Details schema immutability, cross-lakehouse names, and table maintenance.
  • Notebook REST API: Explains API usage for notebook creation, execution, and metadata updates.
  • Auto-Restart: Enables automatic notebook restarts for pipeline-driven runs.
  • Use Case: A data engineer uses this Skill to configure a PySpark job in a Fabric notebook, ensuring efficient data processing and minimizing errors.

Quick Start

Use the fabric-spark skill to optimize a PySpark job in a Fabric notebook, following the provided guidelines for lakehouse setup and configuration.

Frequently Asked Questions about fabric-spark

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

FAQPage Schema
How do I optimize PySpark operations in Microsoft Fabric notebooks?

To optimize PySpark operations in Microsoft Fabric notebooks, apply specific best practices for runtime configuration, lakehouse setup, and session tuning using `spark.conf.*` to ensure efficient data processing.

What are the constraints for external HTTP requests in Fabric PySpark notebooks?

Fabric PySpark notebooks enforce a no-external-HTTP constraint and require ABFS URI formatting. Adhering to these constraints ensures smooth data processing and prevents execution errors within the lakehouse environment.

How do I configure a PySpark job for pipeline-driven execution in Fabric?

You can configure a PySpark job for pipeline-driven execution in Fabric by enabling the auto-restart feature for notebook runs and utilizing the Notebook REST API for execution and metadata updates.

Can I use notebookutils.runtime.context for identity lookups in Fabric?

Yes, you can use `notebookutils.runtime.context` for identity lookups in Microsoft Fabric, which provides essential runtime guidance for configuring and managing your PySpark notebook environment effectively.

What is the best way to manage Lakehouse schema immutability in Fabric?

The best way to manage Lakehouse schema immutability in Fabric is to follow specific guidelines for cross-lakehouse names and table maintenance, ensuring your data processing setup remains stable and error-free.

Why does my PySpark notebook fail when accessing external data sources in Fabric?

Your PySpark notebook likely fails because Microsoft Fabric enforces a no-external-HTTP constraint and requires specific ABFS URI formatting for data access, preventing unauthorized external connections.