Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply_table_alias will ignore alias_name when columns is empty. #4454

Closed
jackwener opened this issue Dec 1, 2022 · 0 comments · Fixed by #4484
Closed

apply_table_alias will ignore alias_name when columns is empty. #4454

jackwener opened this issue Dec 1, 2022 · 0 comments · Fixed by #4484
Labels
bug Something isn't working

Comments

@jackwener
Copy link
Member

jackwener commented Dec 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant