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

Split column pruner into two phases #1501

Open
wants to merge 1 commit into
base: p--cte--05
Choose a base branch
from
Open

Split column pruner into two phases #1501

wants to merge 1 commit into from

Commits on Nov 4, 2024

  1. /* PR_START p--cte 06 */ Split column pruner into two phases.

    Currently, the column pruner checks the columns that are needed in each `SELECT`
    statement and generates the pruned SQL in a single pass. For better readability
    and easier modification, this splits the column pruner into two phases.
    
    First, the SQL nodes are traversed to figure out which columns are required and
    which can be pruned. Then, the SQL nodes are rewritten with the pruned columns.
    plypaul committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    d01cbea View commit details
    Browse the repository at this point in the history