Skip to main content

Module normalize

Module normalize 

Source
Expand description

Statement normalization (alias removal, catalog binding) used by the canonical-form / dedup paths.

Functionsยง

normalize_statement
Normalizes an already-parsed Statement against catalog.
parse_and_normalize
Parses sql and returns a normalized statement (alias removal, catalog-driven type binding) suitable for stable canonical-form comparisons.
validate_statement_against_catalog
Convenience wrapper: normalizes statement against catalog purely for the side-effect of catalog validation.