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

Write logical planner rules to enforce canonical order of operations #540

Open
wolffcm opened this issue Dec 17, 2018 · 1 comment
Open

Comments

@wolffcm
Copy link

wolffcm commented Dec 17, 2018

Related to: influxdata/platform#76

The logical planner should attempt to push down operations to achieve the order:

  1. source
  2. range
  3. filter
  4. group
  5. aggregate

That is, there should be three rewrite rules that push range through aggregate, group and filter, respectively.

Likewise there should be two rules that push filter through group and aggregate, respectively.

You can't push group through an aggregate, so I guess there would need to be 5 new rules.

Copy link

github-actions bot commented Oct 4, 2024

This issue has had no recent activity and will be closed soon.

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

No branches or pull requests

2 participants