Skip to main content

wrap_unnest_join_aliases

Function wrap_unnest_join_aliases 

Source
pub fn wrap_unnest_join_aliases(expr: Expression) -> Result<Expression>
Expand description

Wrap UNNEST function aliases in JOIN items from AS name to AS _u(name) Used for PostgreSQL → Presto/Trino transpilation where GENERATE_SERIES is converted to UNNEST(SEQUENCE) and the alias needs the column-alias format.