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

Revamp planning of pattern recognition #20853

Merged
merged 5 commits into from
Feb 29, 2024

Conversation

martint
Copy link
Member

@martint martint commented Feb 28, 2024

Move all analysis tasks to the analyzer and remove artificial intermediate pseudo-IR.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Feb 28, 2024
@martint martint requested review from kasiafi and dain February 28, 2024 04:27
The frame end expression was being pre-projected so that
it could be rewritten into a symbol reference, as that's
the only type of expression WindowNode supports.

When the frame end is a constant and a measure expression
contains the same constant, it gets extracted and rewritten
as a symbol reference withing the measure expression. This
is unnecessary at best and a performance issue in the worst
case.
Move all analysis tasks to the analyzer and remove
artificial intermediate pseudo-IR.
@martint martint merged commit eac22d0 into trinodb:master Feb 29, 2024
95 checks passed
@martint martint deleted the ir-patternmatching branch February 29, 2024 02:31
@github-actions github-actions bot added this to the 440 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants