Expand description
Compact query analysis facts.
This module intentionally builds on the existing parser, scope builder, type annotator, and lineage implementation. It is a convenience API: callers that need the full AST or full lineage graph should continue using those lower level APIs directly.
Structs§
- Analyze
Query Options - Options for
analyze_query. - Column
Reference Fact - Compact fact about an upstream column reference.
- Projection
Fact - Compact fact about one output projection.
- Query
Analysis - Compact facts about a query’s output shape and data dependencies.
- Relation
Fact - Compact fact about a relation visible in the root scope.
- SetOperation
Branch Fact - Compact facts for one immediate set-operation branch.
- SetOperation
Fact - Compact fact about a set operation.
Enums§
- Query
Shape - Top-level query shape.
- Reference
Confidence - Confidence level for a compact upstream column reference.
- Transform
Kind - High-level kind of transformation performed by a projection.
Functions§
- analyze_
query - Analyze a single SELECT or set-operation query.