Expand description
Column Resolver Module
This module provides functionality for resolving column references to their source tables. It handles:
- Finding which table a column belongs to
- Resolving ambiguous column references
- Handling join context for disambiguation
- Supporting set operations (UNION, INTERSECT, EXCEPT)
Based on the Python implementation in sqlglot/optimizer/resolver.py.
Structs§
- Resolver
- Helper for resolving columns to their source tables.
Enums§
- Resolver
Error - Errors that can occur during column resolution
Functions§
- is_
column_ ambiguous - Check if a column is ambiguous in the given scope.
- resolve_
column - Resolve a column to its source table.
Type Aliases§
- Resolver
Result - Result type for resolver operations