Views
SQL transformations the AI creates for you automatically—no SQL writing required.
What are Views?
Views are the building blocks of your analysis. When you ask the AI a question, it breaks down the work into discrete SQL transformations called Views. Each View is a step in your analytical pipeline—filtering, joining, calculating, aggregating, or reshaping data.
You never have to write SQL yourself, but you can always inspect the code to verify the logic.
Color-coded View nodes showing your analytical pipeline
Why Views Matter
Transparency: See exactly what SQL the AI wrote. No black-box magic.
Reusability: Reference Views in future questions. Build analysis layer by layer.
Modularity: Complex analysis becomes a chain of simple, understandable steps.
Debugging: If something looks wrong, inspect the View where it happened.
Understanding View Types
The AI classifies Views by operation. Each type gets a unique color and icon:
Filter - Narrow down rows with WHERE conditions
Convert Types - Cast data types or parse dates
Calculate Columns - Add new computed columns
Aggregate - GROUP BY operations and summaries
Combine - Joins, unions, and set operations
Calculate Groupwise - Window functions and rankings
Reshape - Pivot, unpivot, or unnest arrays
Present - Final formatting for output
Recursion - Recursive queries for hierarchical data
Each View type has a distinct color and icon
How Views Work
Automatic Creation
When you chat with the AI:
- AI analyzes your request
- Breaks work into logical steps
- Creates one View per step
- Shows them as nodes in the graph
You simply approve or reject the Views. The AI handles all SQL generation.
Draft Mode
New Views appear with a red dot indicator—they're in draft mode. You can:
- Accept individual Views: Click the checkmark
- Accept all: Approve multiple Views at once
- Reject all: Discard and ask the AI to try differently
Draft Views with red indicators waiting for approval
Inspecting Views
Click any View node to see:
- Data preview: First rows of the result
- View name: Descriptive name the AI chose
- Classification badge: What type of operation it performs
- Brief summary: 4-word explanation of the logic
- Detailed explanation: Full description in expanded mode
- Dimensions: Row and column counts
- SQL code: Toggle to "Code" tab to see the query
Bottom panel showing data, profile, and SQL code tabs
Common Use Cases
- Multi-step analysis: Filter → Join → Calculate → Aggregate chain
- Incremental refinement: Build on existing Views without starting over
- Data quality checks: Inspect intermediate Views to verify logic
- Learning SQL: See how the AI writes queries for your requests
- Reusable components: Create Views once, reference in multiple analyses
Tips & Best Practices
Accept incrementally: Approve Views as they're created instead of batching at the end. Helps you catch issues early.
Check intermediate steps: Don't just look at the final result. Click through Views to verify each step makes sense.
Name Views meaningfully: You can rename Views. Use names like "high_value_customers" instead of "view_7".
Build on existing Views: Reference Views by name in future prompts: "Using @[monthly_revenue], show the top 5 months"
Understand before accepting: If a View's logic seems unclear, ask the AI to explain it before accepting.
Managing Views
Rename: Right-click and select "Rename" for clearer names Edit: Right-click and use Quick AI to modify specific Views Delete: Right-click to delete (with dependency warnings) Copy data: Export View results to CSV or copy to clipboard Pop out: Open data preview in a separate window
Right-click menu for View management
Data Preview Options
Toggle between three views at the bottom panel:
Data: See the actual rows and columns
Profile: View metadata, statistics, and data quality info
Code: Inspect the SQL query
Switch between Data, Profile, and Code tabs
Related Features
- Node Graph - Visual representation of View dependencies
- Quick AI Editing - Modify Views with Cmd+K
- Manual SQL Mode - Write SQL directly if needed
- Reactive System - How Views update automatically
- Sources - Where Views get their data