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

[BugFix] Support Generated Column rewrite for logical view with customize column name #52981

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 19, 2024

  1. [BugFix] Support Generated Column rewrite for logical view with custo…

    …mize column name
    
    Why I'm doing:
    In current implementation, if the logical view sepcify the customize column name which is different
    from the projection output of the SQL definition, optimizer will not rewrite Generated Column expression
    although all column have been outputed.
    This issue is caused by lack of alias information in SelectItem in this case. The alias information can be
    found in scope for logical view.
    
    What I'm doing:
    1. Use alias information in scope for logical view rewriting.
    2. Refactoring some code.
    
    Signed-off-by: srlch <[email protected]>
    srlch committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e309a54 View commit details
    Browse the repository at this point in the history