Skip to main content

Module resolver

Module resolver 

Source
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§

ResolverError
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§

ResolverResult
Result type for resolver operations