pub fn lateral_alias_warning(
dialect: Dialect,
alias_name: &str,
statement_index: usize,
) -> IssueExpand description
Emits a warning for unsupported lateral column alias usage.
Lateral column aliases allow referencing an alias defined earlier in the same SELECT list. Not all dialects support this feature.
§Arguments
dialect- The SQL dialect being usedalias_name- The name of the alias being referencedstatement_index- The index of the statement in the analysis request
§Returns
An Issue warning that can be pushed to the analyzer’s issue list.