FlowScope
FlowScope analyzes SQL queries to produce detailed lineage graphs showing how tables, CTEs, and columns flow through data transformations. All processing happens in your browser via WebAssembly—your SQL never leaves your device.
What is SQL Lineage?
Section titled “What is SQL Lineage?”SQL lineage maps the relationships between data sources and outputs in your queries. Understanding lineage helps you:
- Impact Analysis - Know which downstream tables are affected when you change a column
- Data Debugging - Trace where values come from when results are unexpected
- Compliance & Auditing - Document data flows for regulatory requirements
- Documentation - Visualize how your data pipeline transforms information
Key Features
Section titled “Key Features”- 100% Client-Side - All analysis happens in your browser via WebAssembly
- Privacy First - Your SQL never leaves your device
- Column-Level Lineage - Track individual columns through JOINs, aggregations, and transformations
- Table-Level Lineage - Understand source-to-target relationships at a glance
- 13 SQL Dialects - PostgreSQL, Snowflake, BigQuery, DuckDB, Redshift, and more
- CTE Support - Full tracking through Common Table Expressions
- dbt/Jinja Support - Analyze templated SQL with variable substitution
How It Works
Section titled “How It Works”┌───────────────────────────────────────────────────────────────┐│ Your Browser ││ ┌─────────────┐ ┌─────────────────┐ ┌────────────────┐ ││ │ SQL Input │ → │ FlowScope WASM │ → │ Lineage Graph │ ││ │ │ │ Engine │ │ Visualization │ ││ └─────────────┘ └─────────────────┘ └────────────────┘ ││ ↓ ││ ┌──────────────┐ ││ │ Exports │ ││ │ JSON/Mermaid │ ││ │ HTML/Excel │ ││ └──────────────┘ │└───────────────────────────────────────────────────────────────┘- Paste or type your SQL query
- FlowScope parses and analyzes the query locally
- View the interactive lineage graph
- Export in your preferred format
Use Cases
Section titled “Use Cases”- Data Engineers - Understand data pipelines before making changes
- Analytics Teams - Trace metric definitions back to source tables
- Data Governance - Document PII flows and data transformations
- Code Reviews - Quickly understand what a complex query does
- Onboarding - Help new team members understand existing queries
Quick Links
Section titled “Quick Links”import { Card, CardGrid } from ‘@astrojs/starlight/components’;
[Get started →](/flowscope/getting-started/)[Learn more →](/flowscope/analyzing-queries/)[Learn more →](/flowscope/lineage-visualization/)[View dialects →](/flowscope/dialects/)[Learn more →](/flowscope/advanced/)[View CLI →](/flowscope/cli/)Available Interfaces
Section titled “Available Interfaces”FlowScope is available in multiple forms:
| Interface | Description |
|---|---|
| Web App | Interactive browser-based analysis |
| CLI Tool | Command-line analysis with multiple output formats |
| NPM Package | Embed lineage analysis in your applications |
| VS Code Extension | Analyze SQL directly in your editor |