Skip to content

Average Rewrite Rule for LQPs#16

Open
tobodner wants to merge 3 commits into
compiler-pr-741-headfrom
compiler-pr-742-head
Open

Average Rewrite Rule for LQPs#16
tobodner wants to merge 3 commits into
compiler-pr-741-headfrom
compiler-pr-742-head

Conversation

@tobodner

@tobodner tobodner commented Nov 3, 2025

Copy link
Copy Markdown
Member

Blocked by:

  • #739

This rule rewrites AVG aggregates in LQPs, so that they can be calculated in a Projection from SUM and COUNT aggregates.

For this,

  • AggregateNodes are adjusted,
  • and ProjectionNodes are added.
  • If necessary, an additional AliasNode is added, so that column names do not change as a result of this rule.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants