Expand description
Identifier case and quoting normalization Identifier Normalization Module
This module provides functionality for normalizing identifiers in SQL queries based on dialect-specific rules for case sensitivity and quoting.
Ported from sqlglot’s optimizer/normalize_identifiers.py
Enums§
- Normalization
Strategy - Strategy for normalizing identifiers based on dialect rules.
Functions§
- get_
normalization_ strategy - Get the normalization strategy for a dialect
- is_
case_ sensitive - Check if an identifier contains case-sensitive characters based on dialect rules.
- normalize_
identifier - Normalize a single identifier based on the strategy.
- normalize_
identifiers - Normalize identifiers in an expression based on dialect rules.