feat(databricks): add Databricks integration with 8 tools#3361
Merged
waleedlatif1 merged 4 commits intostagingfrom Feb 27, 2026
Merged
feat(databricks): add Databricks integration with 8 tools#3361waleedlatif1 merged 4 commits intostagingfrom
waleedlatif1 merged 4 commits intostagingfrom
Conversation
Add complete Databricks integration supporting SQL execution, job management, run monitoring, and cluster listing via Personal Access Token authentication. Tools: execute_sql, list_jobs, run_job, get_run, list_runs, cancel_run, get_run_output, list_clusters Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryAdded complete Databricks integration with 8 tools covering SQL execution, job management, and cluster operations. Implementation follows established patterns with proper error handling, structured outputs, and comprehensive UI configuration. Key changes:
Issue found:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Block as Databricks Block
participant Tool as Databricks Tool
participant API as Databricks API
User->>Block: Select operation (e.g., execute_sql)
User->>Block: Provide credentials (host, apiKey)
User->>Block: Configure parameters
Block->>Block: Transform params (strings to numbers/booleans)
Block->>Tool: Route to appropriate tool (databricks_execute_sql)
Tool->>Tool: Build request URL & headers
Tool->>Tool: Construct request body
Tool->>API: POST/GET request with Bearer token
API-->>Tool: JSON response
Tool->>Tool: Transform response (snake_case to camelCase)
Tool->>Tool: Destructure fields into structured output
Tool-->>Block: Return typed response
Block-->>User: Display results with destructured fields
Last reviewed commit: af865eb |
…add expandTasks field
- Throw errors on invalid JSON in jobParameters/notebookParams instead of silently defaulting to {}
- Always set boolean params explicitly to prevent string 'false' being truthy
- Add missing expandTasks dropdown UI field for list_jobs operation
- execute_sql: fix wait_timeout default description (50s, not 10s) - get_run: add queueDuration field, update lifecycle/result state enums - get_run_output: fix notebook output size (5 MB not 1 MB), add logsTruncated field - list_runs: add userCancelledOrTimedout to state, fix limit range (1-24), update state enums - list_jobs: fix name filter description to "exact case-insensitive" - list_clusters: add PIPELINE_MAINTENANCE to ClusterSource enum
Collaborator
Author
|
@greptile |
Collaborator
Author
|
@cursor review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mode: 'advanced'for optional fields,wandConfigfor JSON params and timestampsType of Change
Testing
Tested manually
Checklist