Skip to content

apply_table_alias will ignore alias_name when columns is empty. #4454

@jackwener

Description

@jackwener

Describe the bug

        if columns_alias.is_empty() {
            // sqlparser-rs encodes AS t as an empty list of column alias
            Ok(plan)
        }

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions