Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add LogicalPlan optimization #763

Merged

Conversation

penghuo
Copy link
Contributor

@penghuo penghuo commented Sep 30, 2020

Description of changes:

  1. Add the LogicalPlanOptimizer and Optimization Rule. We support the following optimization rules:
    1.1. Filter — Relation ----> IndexScan
    1.2. Filter — Filter ----> Filter
    1.3. Agg — Relation ----> IndexScanAgg
    1.4. Agg — IndexScan ----> IndexScanAgg
  2. Add the explain doc for PPL
    https://github.com/penghuo/sql/blob/pr-logical-optimization/docs/experiment/ppl/interfaces/endpoint.rst
  3. Change the description in functions to be generic for SQL/PPL
    https://github.com/penghuo/sql/blob/pr-logical-optimization/docs/user/dql/functions.rst

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@penghuo penghuo changed the title Pr logical optimization Add LogicalPlan optimization Sep 30, 2020
@penghuo penghuo self-assigned this Sep 30, 2020
Copy link
Member

@chloe-zh chloe-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment. Thanks for adding this!

@penghuo penghuo merged commit f7cd73d into opendistro-for-elasticsearch:develop Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants