Skip to content

Query: Optimize QueryOptimizer #7831

Closed as not planned
Closed as not planned

Description

@smitpatel

QueryModelOptimizer derives from SubQueryFromClauseFlattener class which in turn derives from QueryModelVisitorBase.

  • QMVBase class does not visit, QueryModels recursively, hence subQMs inside SelectClause etc are not visited by optimizer. We need ExpressionVisitor to apply QueryModelOptimizer recursively.
  • Expand logic of lifting of subquery.
  • Verify if we need to derive from SubQueryFromClauseFlattener, its code structure has a specific format which we can get rid of.

Activity

  1. added this to the 2.0.0 milestone on Mar 10, 2017
  2. smitpatel commented on Mar 11, 2017

    @smitpatel
    ContributorAuthor

    Reopening since we can still get rid of SubQueryFromClauseFlattener

  3. changed the title [-]QueryOptimizer does not go through query model recursively[/-] [+]Optimize QueryOptimizer[/+] on Mar 21, 2017
  4. removed this from the 2.0.0 milestone on Apr 13, 2017
  5. added this to the Backlog milestone on Apr 17, 2017
  6. removed their assignment
    on Sep 13, 2017
  7. changed the title [-]Optimize QueryOptimizer[/-] [+]Query: Optimize QueryOptimizer[/+] on May 16, 2018
  8. AndriySvyryd commented on Aug 23, 2019

    @AndriySvyryd
    Member

    @smitpatel Not needed?

  9. removed this from the Backlog milestone on Aug 23, 2019
  10. added theissue type on Jun 27, 2025
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions