Query Editor
The query editor is Datadata's core interface, featuring SQL/DQL editing, datasource selection, result preview, and AI assistance.
Editor Layout
The editor has three main areas:
- Left panel: Datasource selector (bound, popular, my datasources)
- Center: SQL / DQL editor with toolbar
- Right panel: AI Copilot chat assistant
SQL / DQL Mode
Toggle between SQL and DQL modes using the selector in the editor toolbar:
- SQL Mode: For standard SQL query writing
- DQL Mode: For Starlark-based data processing scripts
AI Copilot
The AI Copilot panel on the right can:
- Analyze your query and suggest improvements
- Answer questions about your data
- Help you understand datasource value
Quick prompts:
"Tell me about yourself" "What analytical value does this datasource have?" "How is my SQL query?"
Save and Share
- Click Save to save your query
- Visibility can be set to public or private
- Public queries appear in the Explore page
- Tags (e.g.,
#gold,#tick) help with discoverability