databricks-hello-world

Featured

Create a minimal working Databricks example with cluster and notebook. Use when starting a new Databricks project, testing your setup, or learning basic Databricks patterns. Trigger with phrases like "databricks hello world", "databricks example", "databricks quick start", "first databricks notebook", "create cluster".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks Hello World ## Overview Create your first Databricks cluster and notebook via the REST API and Python SDK. Covers single-node dev clusters, SQL warehouses, notebook upload, one-time job runs, and Delta Lake smoke tests. ## Prerequisites - Completed `databricks-install-auth` setup - Workspace access with cluster creation permissions - Valid API credentials in env vars or `~/.databrickscfg` ## Instructions ### Step 1: Create a Single-Node Dev Cluster ```bash # POST /api/2.0/clusters/create databricks clusters create --json '{ "cluster_name": "hello-world-dev", "spark_version": "14.3.x-scala2.12", "node_type_id": "i3.xlarge", "autotermination_minutes": 30, "num_workers": 0, "spark_conf": { "spark.databricks.cluster.profile": "singleNode", "spark.master": "local[*]" }, "custom_tags": { "ResourceClass": "SingleNode" } }' # Returns: {"cluster_id": "0123-456789-abcde123"} ``` Or via Python SDK: ```python from databricks.sdk import WorkspaceClient from databricks.sdk.service.compute import AutoScale w = WorkspaceClient() # create_and_wait blocks until cluster reaches RUNNING state cluster = w.clusters.create_and_wait( cluster_name="hello-world-dev", spark_version="14.3.x-scala2.12", node_type_id="i3.xlarge", num_workers=0, autotermination_minutes=30, spark_conf={ "spark.databricks.cluster.profile": "singleNode", "spark.master": "local[*]", }, ) print(f"Cluster ready: {cluster.cluster_id} ({c...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

databricks-common-errors

Diagnose and fix Databricks common errors and exceptions. Use when encountering Databricks errors, debugging failed jobs, or troubleshooting cluster and notebook issues. Trigger with phrases like "databricks error", "fix databricks", "databricks not working", "debug databricks", "spark error".

2,266 Updated today
jeremylongshore
AI & Automation Featured

databricks-local-dev-loop

Configure Databricks local development with Databricks Connect, Asset Bundles, and IDE. Use when setting up a local dev environment, configuring test workflows, or establishing a fast iteration cycle with Databricks. Trigger with phrases like "databricks dev setup", "databricks local", "databricks IDE", "develop with databricks", "databricks connect".

2,266 Updated today
jeremylongshore
Data & Documents Listed

databricks-core

Databricks CLI operations: auth, profiles, data exploration, and bundles. Contains up-to-date guidelines for Databricks-related CLI tasks.

0 Updated 2 days ago
pgoell
AI & Automation Featured

snowflake-hello-world

Create a minimal working Snowflake example with real SQL queries. Use when testing your Snowflake setup, running first queries, or learning basic snowflake-sdk and snowflake-connector-python patterns. Trigger with phrases like "snowflake hello world", "snowflake example", "snowflake quick start", "first snowflake query".

2,266 Updated today
jeremylongshore
AI & Automation Featured

databricks-sdk-patterns

Apply production-ready Databricks SDK patterns for Python and REST API. Use when implementing Databricks integrations, refactoring SDK usage, or establishing team coding standards for Databricks. Trigger with phrases like "databricks SDK patterns", "databricks best practices", "databricks code patterns", "idiomatic databricks".

2,266 Updated today
jeremylongshore