Skip to content

Stop copying LogicalPlan and Exprs in CommonSubexprEliminate #10211

Closed

Description

@alamb

Is your feature request related to a problem or challenge?

As part of making the planner faster, we are updating the passes to avoid copying LogicalPlan and Expr (see #9637)

Recent profiling (#9637 (comment)) shows that a non trivial amount of plan time happens in CommonSubexprEliminate

Describe the solution you'd like

I would like to reduce the amount of copying in this pass that it no longer appears in profiling traces

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. changed the title [-]`CommonSubexprEliminate`[/-] [+]Stop copying LogicalPlan and Exprs in `CommonSubexprEliminate`[/+] on Apr 24, 2024
  2. alamb commented on Apr 24, 2024

    @alamb
    ContributorAuthor

    I believe @peter-toth is working on this one

  3. peter-toth commented on Apr 24, 2024

    @peter-toth
    Contributor

    I am, but how this issue relates to #9873? Are they duplicates?

  4. alamb commented on Apr 24, 2024

    @alamb
    ContributorAuthor

    I am, but how this issue relates to #9873? Are they duplicates?

    Good call -- I think they are dupes. Closing this one

  5. reopened this on Apr 24, 2024
  6. peter-toth commented on May 1, 2024

    @peter-toth
    Contributor

    @alamb, why did you reopen this?

  7. alamb commented on May 1, 2024

    @alamb
    ContributorAuthor

    @alamb, why did you reopen this?

    I am not sure. Sorry about that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions