Skip to main content
This notebook shows how to use agents to interact with Spark SQL. Similar to SQL Database Agent, it is designed to address general inquiries about Spark SQL and facilitate error recovery. NOTE: Note that, as this agent is in active development, all answers might not be correct. Additionally, it is not guaranteed that the agent won’t perform DML statements on your Spark cluster given certain questions. Be careful running it on sensitive data!

Initialization

Example: describing a table

Example: running queries


Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.