scala-notebook

Community

Write robust Databricks Scala notebooks.

Authorolavocarvalho
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides best practices and solutions for common challenges encountered when writing Spark ETL pipelines and performing data manipulation in Databricks Scala notebooks.

Core Features & Use Cases

  • Avoid Self-Join Errors: Learn how to circumvent Databricks' restrictions on self-joins with remote tables by using temporary tables.
  • Optimize Performance: Understand why using temp tables is preferred over .cache() for persistence and lineage breaking.
  • Prevent Ambiguous Columns: Resolve errors caused by duplicate column names after joins, especially when working with grouped DataFrames.
  • Literal Arithmetic: Correctly use lit() for arithmetic operations involving Spark Columns and literals.
  • Cross-Language Config: Share configuration values between Scala and Python cells using spark.conf.

Quick Start

Use the scala-notebook skill to avoid self-join errors on remote tables in Databricks.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: scala-notebook
Download link: https://github.com/olavocarvalho/data-agents/archive/main.zip#scala-notebook

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.