Databricks Dbsql

🌐Community
by databricks-solutions · vlatest · Repository

Databricks DBSQL allows you to query data directly within your Delta tables without writing complex SQL queries, boosting productivity and simplifying data access.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add databricks-dbsql npx -- -y @trustedskills/databricks-dbsql
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "databricks-dbsql": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/databricks-dbsql"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows AI agents to interact with Databricks SQL (DBSQL) endpoints. It enables querying data stored in Databricks, executing SQL statements, and retrieving results programmatically. The agent can be used for tasks like generating reports, performing ad-hoc analysis, or automating data workflows within the Databricks environment.

When to use it

  • Data Analysis: Analyze large datasets residing in a Databricks workspace to extract insights and trends.
  • Report Generation: Automatically generate SQL queries to populate dashboards and create reports based on real-time data.
  • Automated Data Pipelines: Integrate with existing data pipelines to perform transformations or validations using SQL within Databricks.
  • Ad-hoc Querying: Allow users to submit custom SQL queries directly through the AI agent for quick data exploration.

Key capabilities

  • Execute SQL queries against a DBSQL endpoint.
  • Retrieve query results in a structured format.
  • Interact with tables and views within Databricks.
  • Automate data workflows using SQL statements.

Example prompts

  • "Run the following SQL query: SELECT * FROM my_table LIMIT 10"
  • "What is the average value of 'sales' in the 'orders' table?"
  • "Create a temporary view named 'high_value_customers' based on the query: SELECT customer_id FROM orders WHERE total > 1000"

Tips & gotchas

  • Requires proper authentication and access to a Databricks SQL endpoint. Ensure the AI agent has the necessary permissions to execute queries.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
databricks-solutions
Installs
8

🌐 Community

Passed automated security scans.